Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/thorpej_scsipi]: src/sys/dev/ic Don't cast return value of config_found(...



details:   https://anonhg.NetBSD.org/src/rev/c0f87ebe87e9
branches:  thorpej_scsipi
changeset: 477278:c0f87ebe87e9
user:      ad <ad%NetBSD.org@localhost>
date:      Tue Oct 19 20:10:43 1999 +0000

description:
Don't cast return value of config_found() to void, as it's not consistant with
the rest of the driver.

diffstat:

 sys/dev/ic/dpt.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 1750f7b4d527 -r c0f87ebe87e9 sys/dev/ic/dpt.c
--- a/sys/dev/ic/dpt.c  Tue Oct 19 20:02:23 1999 +0000
+++ b/sys/dev/ic/dpt.c  Tue Oct 19 20:10:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dpt.c,v 1.8.2.1 1999/10/19 17:47:36 thorpej Exp $      */
+/*     $NetBSD: dpt.c,v 1.8.2.2 1999/10/19 20:10:43 ad Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.8.2.1 1999/10/19 17:47:36 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.8.2.2 1999/10/19 20:10:43 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -375,8 +375,7 @@
                chan->chan_ntargets = ec->ec_maxtarget + 1;
                chan->chan_nluns = ec->ec_maxlun + 1;
                chan->chan_id = sc->sc_hbaid[i];
-
-               (void) config_found(&sc->sc_dv, chan, scsiprint);
+               config_found(&sc->sc_dv, chan, scsiprint);
        }
 }
 



Home | Main Index | Thread Index | Old Index