PCI: pciehp: remove device field
The device field in the struct slot is not necessary because it is always 0 in pciehp driver. Acked-by: Alex Chiang <achiang@hp.com> Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
committed by
Jesse Barnes
parent
ab9c6c8670
commit
d689f7eb36
@@ -72,7 +72,6 @@ do { \
|
||||
|
||||
#define SLOT_NAME_SIZE 10
|
||||
struct slot {
|
||||
u8 device;
|
||||
u8 state;
|
||||
u8 hp_slot;
|
||||
u32 number;
|
||||
|
Reference in New Issue
Block a user