summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ips.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/dev/pci/ips.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/dev/pci/ips.c')
-rw-r--r--sys/dev/pci/ips.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index 0f24edff8da..55257c7aa90 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.97 2010/05/20 00:55:17 krw Exp $ */
+/* $OpenBSD: ips.c,v 1.98 2010/06/15 04:11:34 dlg Exp $ */
/*
* Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org>
@@ -429,8 +429,7 @@ void ips_attach(struct device *, struct device *, void *);
void ips_scsi_cmd(struct scsi_xfer *);
void ips_scsi_pt_cmd(struct scsi_xfer *);
-int ips_scsi_ioctl(struct scsi_link *, u_long, caddr_t, int,
- struct proc *);
+int ips_scsi_ioctl(struct scsi_link *, u_long, caddr_t, int);
#if NBIO > 0
int ips_ioctl(struct device *, u_long, caddr_t);
@@ -1101,8 +1100,7 @@ ips_scsi_pt_cmd(struct scsi_xfer *xs)
}
int
-ips_scsi_ioctl(struct scsi_link *link, u_long cmd, caddr_t addr, int flag,
- struct proc *p)
+ips_scsi_ioctl(struct scsi_link *link, u_long cmd, caddr_t addr, int flag)
{
#if NBIO > 0
return (ips_ioctl(link->adapter_softc, cmd, addr));