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:
parent
7586909279
commit
6a47d852b9
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user