Remove DS_BUSY case

DS_BUSY is no longer a device state. Remove it from here.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2021-11-30 16:35:48 -07:00
parent 1c7d15b030
commit cbe9faa50b

View File

@ -356,7 +356,6 @@ device_get_status(struct devinfo_dev *dev)
case DS_NOTPRESENT: /* not probed or probe failed */
return (DS_DOWN);
case DS_ATTACHED: /* attach method called */
case DS_BUSY: /* device is open */
return (DS_RUNNING);
default:
return (DS_UNKNOWN);