diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-09-28 20:48:13 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-09-28 20:48:13 +0000 |
| commit | ed692400eba222d9abc1884e9bb7746c9bc71437 (patch) | |
| tree | 4c59531a9f82b488f7fca22115ecb97e22c4abb0 /sys/dev/usb/ums.c | |
| parent | 6dcf0a53d24001457fcad982452de21a062426b6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/ums.c')
| -rw-r--r-- | sys/dev/usb/ums.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index 72240bf6b575..d3acf92e514a 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -367,7 +367,6 @@ Static int ums_detach(device_t self) { struct ums_softc *sc = device_get_softc(self); - struct vnode *vp; if (sc->sc_enabled) ums_disable(sc); @@ -377,10 +376,6 @@ ums_detach(device_t self) free(sc->sc_loc_btn, M_USB); free(sc->sc_ibuf, M_USB); - vp = SLIST_FIRST(&sc->dev->si_hlist); - if (vp) - VOP_REVOKE(vp, REVOKEALL); - /* someone waiting for data */ /* * XXX If we wakeup the process here, the device will be gone by |
