summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-06-15 04:11:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-06-15 04:11:35 +0000
commit66da2736a8ed4d9c0d71b175dfeb8aad21cb64e8 (patch)
tree30d3a9f901c2f235f5eeacb2ddfe5bb67869acc8 /sys/scsi/st.c
parent9d967ae028759ec5321cc878bb2965cfcfa7f873 (diff)
dont pass the dev_t from the scsi device drivers into the midlayer for
ioctl requests, and dont pass the proc pointers around for any ioctl requests in scsi land at all. neither were used, so trim the fat. ok krw@ marco@
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 203b5e24631..fe5172c061f 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.96 2010/06/11 12:02:44 krw Exp $ */
+/* $OpenBSD: st.c,v 1.97 2010/06/15 04:11:34 dlg Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1357,7 +1357,7 @@ stioctl(dev_t dev, u_long cmd, caddr_t arg, int flag, struct proc *p)
#endif
default:
- error = scsi_do_ioctl(st->sc_link, dev, cmd, arg, flag, p);
+ error = scsi_do_ioctl(st->sc_link, cmd, arg, flag);
break;
}
goto done;