diff options
| author | christos <christos@NetBSD.org> | 2006-08-27 23:23:02 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-08-27 23:23:02 +0000 |
| commit | d22d88fc753f87fbba37de2bf5d2acec5e88c8ff (patch) | |
| tree | c0aa83168551b703f6b9abba5aaf6074cafda06f /sys/dev | |
| parent | d8b4d4738072b5b205a1ceb89166d820eca847b3 (diff) | |
ifdef out unreachable code.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/aic6360.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c index 41894ca8391..e6bc68b335a 100644 --- a/sys/dev/ic/aic6360.c +++ b/sys/dev/ic/aic6360.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic6360.c,v 1.87 2006/02/20 16:50:37 thorpej Exp $ */ +/* $NetBSD: aic6360.c,v 1.88 2006/08/27 23:23:02 christos Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Charles M. Hannum. All rights reserved. @@ -58,7 +58,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aic6360.c,v 1.87 2006/02/20 16:50:37 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic6360.c,v 1.88 2006/08/27 23:23:02 christos Exp $"); #include "opt_ddb.h" @@ -1081,6 +1081,8 @@ nextbyte: switch (sc->sc_imess[0]) { case MSG_CMDCOMPLETE: +#ifdef 0 + /* impossible dleft is unsigned */ if (sc->sc_dleft < 0) { periph = acb->xs->xs_periph; printf("%s: %ld extra bytes from %d:%d\n", @@ -1088,6 +1090,7 @@ nextbyte: periph->periph_target, periph->periph_lun); sc->sc_dleft = 0; } +#endif acb->xs->resid = acb->data_length = sc->sc_dleft; sc->sc_state = AIC_CMDCOMPLETE; break; |
