summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-07 08:53:44 +0000
committerphk <phk@FreeBSD.org>1997-11-07 08:53:44 +0000
commit4d268889365c1d9414bbca2f6c63d87db74ec37b (patch)
tree6993a0a1b7a3687b97ad7a5a073bb465e89eb411 /sys/pci/pci.c
parente4fdd132492fc7a4aaa448a72f13f3344f287ab1 (diff)
downloadFreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.zip
FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.tar.gz
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 468ec05..f94498d 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci.c,v 1.78 1997/08/02 14:33:12 bde Exp $
+ * $Id: pci.c,v 1.79 1997/09/14 03:19:36 peter Exp $
*
*/
@@ -357,6 +357,7 @@ pci_readcfg(pcicfgregs *probe)
return (cfg);
}
+#if 0
/* free pcicfgregs structure and all depending data structures */
static int
@@ -369,6 +370,7 @@ pci_freecfg(pcicfgregs *cfg)
free(cfg, M_DEVBUF);
return (0);
}
+#endif
static void
pci_addcfg(pcicfgregs *cfg)
@@ -491,9 +493,7 @@ pci_close(dev_t dev, int flag, int devtype, struct proc *p)
static int
pci_ioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
{
- struct pci_conf_io *cio;
struct pci_io *io;
- size_t iolen;
int error;
if (cmd != PCIOCGETCONF && !(flag & FWRITE))
OpenPOWER on IntegriCloud