Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Remove an used variable and add a missing `}'...



details:   https://anonhg.NetBSD.org/src/rev/97a153ed2f10
branches:  trunk
changeset: 486458:97a153ed2f10
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon May 22 16:52:03 2000 +0000

description:
Remove an used variable and add a missing `}' so that this compiles.

diffstat:

 sys/dev/scsipi/ses.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 83c69988fbd8 -r 97a153ed2f10 sys/dev/scsipi/ses.c
--- a/sys/dev/scsipi/ses.c      Mon May 22 16:48:41 2000 +0000
+++ b/sys/dev/scsipi/ses.c      Mon May 22 16:52:03 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ses.c,v 1.5 2000/05/14 18:20:11 dante Exp $ */
+/*     $NetBSD: ses.c,v 1.6 2000/05/22 16:52:03 thorpej Exp $ */
 /*
  * Copyright (C) 2000 National Aeronautics & Space Administration
  * All rights reserved.
@@ -281,7 +281,6 @@
        struct scsipibus_attach_args *sa;
 {
        struct scsipi_inquiry_data *inqp = sa->sa_inqptr;
-       int length;
  
        if (inqp == NULL)
                return (SES_NONE);
@@ -608,6 +607,7 @@
        if (STRNCMP((char *)&inqp->vendor_specific[8], "SAF-TE",
                        SAFTE_LEN - 2) == 0) {
                return (SES_SAFT);
+       }
 
        return (SES_NONE);
 }



Home | Main Index | Thread Index | Old Index