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.
This commit is contained in:
Bosko Milekic 2001-01-12 07:49:29 +00:00
parent 7586909279
commit 6a47d852b9
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);