diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2001-01-12 07:49:29 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2001-01-12 07:49:29 +0000 |
commit | f840f41c761397df334e63d1d4e66309ef8c8fcc (patch) | |
tree | f64d77dc360fb9469c771dd3e7409ba5d32537dc /sys/i386/pci | |
parent | 422162e6509b1b674631c8c4f0e6e1fd192bc0c9 (diff) | |
download | FreeBSD-src-f840f41c761397df334e63d1d4e66309ef8c8fcc.zip FreeBSD-src-f840f41c761397df334e63d1d4e66309ef8c8fcc.tar.gz |
Remove declaration of airq variable from outer block. There were two
declarations of a variable of the same name. The one in the outer block
was unused and probably just slipped in at one point or another. This
silences a compiler warning.
Diffstat (limited to 'sys/i386/pci')
-rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 2 | ||||
-rw-r--r-- | sys/i386/pci/pci_pir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index ef5f65b..d660dab 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -137,7 +137,7 @@ pci_cfgregread(int bus, int slot, int func, int reg, int bytes) * attempts to read them and translate to our private vector numbers. */ if ((reg == PCIR_INTLINE) && (bytes == 1)) { - int pin, line, airq; + int pin, line; pin = pci_do_cfgregread(bus, slot, func, PCIR_INTPIN, 1); line = pci_do_cfgregread(bus, slot, func, PCIR_INTLINE, 1); diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index ef5f65b..d660dab 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -137,7 +137,7 @@ pci_cfgregread(int bus, int slot, int func, int reg, int bytes) * attempts to read them and translate to our private vector numbers. */ if ((reg == PCIR_INTLINE) && (bytes == 1)) { - int pin, line, airq; + int pin, line; pin = pci_do_cfgregread(bus, slot, func, PCIR_INTPIN, 1); line = pci_do_cfgregread(bus, slot, func, PCIR_INTLINE, 1); |