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, Dec 3, 5:42 PM
Unknown Object (File)
Sun, Dec 1, 7:27 AM
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)
Nov 5 2024, 7:49 PM
Unknown Object (File)
Oct 29 2024, 10:53 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