summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2009-07-14 18:20:02 +0000
committerkettenis <kettenis@openbsd.org>2009-07-14 18:20:02 +0000
commit5f73db80a534cc65889aa4927bdefe8e0e701690 (patch)
treee153ef7338fef64ed43e29db67691abedf806d05 /sys/dev/pci/pci.c
parentuse static for inline so compilers with c99 inline semantics (diff)
downloadwireguard-openbsd-5f73db80a534cc65889aa4927bdefe8e0e701690.tar.xz
wireguard-openbsd-5f73db80a534cc65889aa4927bdefe8e0e701690.zip
Kill structs and ioctls that were never implemented.
ok oga@, miod@, deraadt@
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r--sys/dev/pci/pci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 84d184f05bd..4411cbb6a57 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci.c,v 1.63 2009/06/29 19:19:17 kettenis Exp $ */
+/* $OpenBSD: pci.c,v 1.64 2009/07/14 18:20:02 kettenis Exp $ */
/* $NetBSD: pci.c,v 1.31 1997/06/06 23:48:04 thorpej Exp $ */
/*
@@ -815,10 +815,6 @@ pciioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
io->pi_sel.pc_func);
switch(cmd) {
- case PCIOCGETCONF:
- error = ENODEV;
- break;
-
case PCIOCREAD:
switch(io->pi_width) {
case 4: