fix warning compile error about unused variable
This commit is contained in:
parent
ea8f54b543
commit
72371ff249
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67866
@ -950,7 +950,9 @@ pci_add_map(device_t pcib, int b, int s, int f, int reg,
|
||||
u_int8_t ln2size;
|
||||
u_int8_t ln2range;
|
||||
u_int32_t testval;
|
||||
#ifdef PCI_ENABLE_IO_MODES
|
||||
u_int16_t cmd;
|
||||
#endif
|
||||
int type;
|
||||
|
||||
map = PCIB_READ_CONFIG(pcib, b, s, f, reg, 4);
|
||||
|
@ -950,7 +950,9 @@ pci_add_map(device_t pcib, int b, int s, int f, int reg,
|
||||
u_int8_t ln2size;
|
||||
u_int8_t ln2range;
|
||||
u_int32_t testval;
|
||||
#ifdef PCI_ENABLE_IO_MODES
|
||||
u_int16_t cmd;
|
||||
#endif
|
||||
int type;
|
||||
|
||||
map = PCIB_READ_CONFIG(pcib, b, s, f, reg, 4);
|
||||
|
Loading…
Reference in New Issue
Block a user