From 5ec01df94c55c3e62f172c7b1ef42042bd0aa7e7 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 19 May 2003 00:33:27 +0000 Subject: ditch unused return value --- sys/dev/usb/uftdi.c | 7 +++---- 1 file 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; } -- cgit v1.2.3