diff options
Diffstat (limited to 'sys/dev/usb/uvscom.c')
-rw-r--r-- | sys/dev/usb/uvscom.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c index ea1bc4c422e..2fb1d9c81fb 100644 --- a/sys/dev/usb/uvscom.c +++ b/sys/dev/usb/uvscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvscom.c,v 1.28 2013/11/07 10:33:09 pirofti Exp $ */ +/* $OpenBSD: uvscom.c,v 1.29 2013/11/15 08:25:31 pirofti Exp $ */ /* $NetBSD: uvscom.c,v 1.9 2003/02/12 15:36:20 ichiro Exp $ */ /*- * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. @@ -388,16 +388,13 @@ int uvscom_activate(struct device *self, int act) { struct uvscom_softc *sc = (struct uvscom_softc *)self; - int rv = 0; switch (act) { case DVACT_DEACTIVATE: - if (sc->sc_subdev != NULL) - rv = config_deactivate(sc->sc_subdev); usbd_deactivate(sc->sc_udev); break; } - return (rv); + return (0); } usbd_status |