summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-08 22:26:40 +0000
committerphk <phk@FreeBSD.org>1994-10-08 22:26:40 +0000
commitbe4fdf00a8f8947c051ab2cece8aa3aee3be6352 (patch)
tree044b6fb5ec4edd46b02ceb81f1edeeffa18521f2 /sys/scsi/scsi_ioctl.c
parent5251e75557bb5804b6c692b0cdc8e97ff673855f (diff)
downloadFreeBSD-src-be4fdf00a8f8947c051ab2cece8aa3aee3be6352.zip
FreeBSD-src-be4fdf00a8f8947c051ab2cece8aa3aee3be6352.tar.gz
Removed unused vars. Silenced gcc -Wall. Some of this stuff is virtually
type-less. Everything is "u_int32" :-(
Diffstat (limited to 'sys/scsi/scsi_ioctl.c')
-rw-r--r--sys/scsi/scsi_ioctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index 0cc137a..1228ec5 100644
--- a/sys/scsi/scsi_ioctl.c
+++ b/sys/scsi/scsi_ioctl.c
@@ -5,7 +5,7 @@
* Berkeley style copyright.
*
*
- * $Id$
+ * $Id: scsi_ioctl.c,v 1.7 1994/08/02 07:52:33 davidg Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -217,7 +217,6 @@ void scsiminphys(struct buf *bp)
errval scsi_do_ioctl(struct scsi_link *sc_link, int cmd, caddr_t addr, int f)
{
errval ret = 0;
- int phys;
SC_DEBUG(sc_link,SDEV_DB2,("scsi_do_ioctl(0x%x)\n",cmd));
switch(cmd)
@@ -293,7 +292,6 @@ errval scsi_do_ioctl(struct scsi_link *sc_link, int cmd, caddr_t addr, int f)
}
case SCIOCREPROBE:
{
- extern int scsibus;
struct scsi_addr *sca = (struct scsi_addr *) addr;
ret = scsi_probe_busses(sca->scbus,sca->target,sca->lun);
OpenPOWER on IntegriCloud