diff options
author | julian <julian@FreeBSD.org> | 2004-12-29 21:36:43 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-12-29 21:36:43 +0000 |
commit | 7d4c614c904ef68182f78d21dde08f21ed2ecbad (patch) | |
tree | 497e1b81d117694daadcb3cac4d8d193ad897f38 /sys/dev/usb/ugen.c | |
parent | 2aa46459eef5d1d57876c622fe8b45f2feee2d62 (diff) | |
download | FreeBSD-src-7d4c614c904ef68182f78d21dde08f21ed2ecbad.zip FreeBSD-src-7d4c614c904ef68182f78d21dde08f21ed2ecbad.tar.gz |
Don't call ugen_destroy_devnodes(). it is called from ugen_set_config()
which is the very next line.
Submitted by: stefanf
MFC after: 3 days
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r-- | sys/dev/usb/ugen.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index 58508ac..2606d8e 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -1329,9 +1329,6 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd, case USB_SET_CONFIG: if (!(flag & FWRITE)) return (EPERM); -#if defined(__FreeBSD__) - ugen_destroy_devnodes(sc); -#endif err = ugen_set_config(sc, *(int *)addr); switch (err) { case USBD_NORMAL_COMPLETION: |