Skip to content

Commit 8fb65e0

Browse files
niklas88Vasily Gorbik
authored andcommitted
s390/pci: remove unused bus_next field from struct zpci_dev
This field was added in commit 44510d6 ("s390/pci: Handling multifunctions") but is an unused remnant of an earlier version where the devices on the virtual bus were connected in a linked list instead of a fixed 256 entry array of pointers. It is also not used for the list of busses as that is threaded through struct zpci_bus not through struct zpci_dev. Reviewed-by: Pierre Morel <[email protected]> Signed-off-by: Niklas Schnelle <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent 4b39d40 commit 8fb65e0

File tree

1 file changed

+0
-1
lines changed
  • arch/s390/include/asm

1 file changed

+0
-1
lines changed

arch/s390/include/asm/pci.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ struct zpci_bus {
117117
struct zpci_dev {
118118
struct zpci_bus *zbus;
119119
struct list_head entry; /* list of all zpci_devices, needed for hotplug, etc. */
120-
struct list_head bus_next;
121120
struct kref kref;
122121
struct hotplug_slot hotplug_slot;
123122

0 commit comments

Comments
 (0)