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)
Sat, Jan 18, 6:26 AM
Unknown Object (File)
Fri, Jan 17, 8:59 PM
Unknown Object (File)
Thu, Jan 16, 7:52 AM
Unknown Object (File)
Dec 3 2024, 5:42 PM
Unknown Object (File)
Dec 1 2024, 7:27 AM
Unknown Object (File)
Nov 19 2024, 12:16 AM
Unknown Object (File)
Nov 14 2024, 11:39 PM
Unknown Object (File)
Nov 6 2024, 4:19 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