cvs commit: src/sys/dev/hme if_hme.c
jhb at FreeBSD.org
Wed Aug 24 20:28:57 GMT 2005
jhb 2005-08-24 20:28:56 UTC
FreeBSD src repository
- Remove redundant assertions that the driver lock is not held in attach()
and detach() since mtx_lock() will assert that already since the driver
lock is not recursive.
- Move the call to callout_init_mtx() before hme_stop() so that the
callout_stop() in hme_stop() doesn't operate on an uninitialized callout
structure during attach.
Reported by: yongari (2)
MFC after: 3 days
Revision Changes Path
1.42 +2 -5 src/sys/dev/hme/if_hme.c
More information about the cvs-src