summaryrefslogtreecommitdiff
path: root/sys/dev/scsipi
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-05-22 16:52:03 +0000
committerthorpej <thorpej@NetBSD.org>2000-05-22 16:52:03 +0000
commitf5d4219e96fcba0d4e32afd873ec2bfb4cb7cc40 (patch)
treeeee690c7958b09efa4ee7a99073e7213bd122350 /sys/dev/scsipi
parent78112e2541ad4bf25755fd84c7b658ee976cbf0a (diff)
Remove an used variable and add a missing `}' so that this compiles.
Diffstat (limited to 'sys/dev/scsipi')
-rw-r--r--sys/dev/scsipi/ses.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/scsipi/ses.c b/sys/dev/scsipi/ses.c
index 34c15f02a38..4e895a46240 100644
--- a/sys/dev/scsipi/ses.c
+++ b/sys/dev/scsipi/ses.c
@@ -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 @@ ses_device_type(sa)
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 @@ ses_type(inqp)
if (STRNCMP((char *)&inqp->vendor_specific[8], "SAF-TE",
SAFTE_LEN - 2) == 0) {
return (SES_SAFT);
+ }
return (SES_NONE);
}