Page MenuHomeFreeBSD

bus_generic_detach: Remove redundant check
ClosedPublic

Authored by jhb on Oct 16 2024, 3:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 12:16 AM
Unknown Object (File)
Thu, Nov 14, 11:39 PM
Unknown Object (File)
Wed, Nov 6, 4:19 PM
Unknown Object (File)
Wed, Nov 6, 2:30 PM
Unknown Object (File)
Tue, Nov 5, 7:49 PM
Unknown Object (File)
Tue, Oct 29, 10:53 PM
Unknown Object (File)
Oct 25 2024, 12:25 AM
Unknown Object (File)
Oct 20 2024, 9:36 PM
Subscribers

Details

Summary

device_detach() checks the device state and only calls a driver's
DEVICE_DETACH method if the device is attached but not busy.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable