xpt_bus_deregister() never returns 0, don't test for it.
commit2e4847ed73bdf44925947cfde7704b7a80f66dc9
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 14 Jun 2007 01:10:25 +0000 (14 01:10 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 14 Jun 2007 01:10:25 +0000 (14 01:10 +0000)
treeb6381c07bdbf723a738b7e2dfd097795652ce421
parentbe1c3c46efb6567ce98cbd56fcba29923f3fdbe7
xpt_bus_deregister() never returns 0, don't test for it.

Assert that the sim is attached if a backend sim function is called,
because cam_sim_free() now replaces the functions when the sim is
detached.
sys/dev/usbmisc/umass/umass.c