summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2003-05-19 00:33:27 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2003-05-19 00:33:27 +0000
commit5ec01df94c55c3e62f172c7b1ef42042bd0aa7e7 (patch)
tree6f0323d9f23bfc323a951ba7a81320dd397b94e2 /sys/dev/usb
parentd0aac8f34d858552d5e835ce4c0f0134ff4e8d49 (diff)
ditch unused return value
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uftdi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c
index d59d5d8ee47..f64b694c58d 100644
--- a/sys/dev/usb/uftdi.c
+++ b/sys/dev/usb/uftdi.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: uftdi.c,v 1.11 2003/05/07 04:33:33 deraadt Exp $ */
-/* $NetBSD: uftdi.c,v 1.13 2002/09/23 05:51:23 simonb Exp $ */
+/* $OpenBSD: uftdi.c,v 1.12 2003/05/19 00:33:26 nate Exp $ */
+/* $NetBSD: uftdi.c,v 1.14 2003/02/23 04:20:07 simonb Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -279,12 +279,11 @@ int
uftdi_detach(device_ptr_t self, int flags)
{
struct uftdi_softc *sc = (struct uftdi_softc *)self;
- int rv = 0;
DPRINTF(("uftdi_detach: sc=%p flags=%d\n", sc, flags));
sc->sc_dying = 1;
if (sc->sc_subdev != NULL) {
- rv = config_detach(sc->sc_subdev, flags);
+ config_detach(sc->sc_subdev, flags);
sc->sc_subdev = NULL;
}