Skip to content

Commit 76fbfb3

Browse files
oleremNipaLocal
authored andcommitted
net: usb: lan78xx: remove unused struct members
Remove unused members from struct lan78xx_net, including: driver_priv suspend_count mdix_ctrl These fields are no longer used in the driver and can be safely removed as part of a cleanup. Signed-off-by: Oleksij Rempel <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 760b5e3 commit 76fbfb3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/usb/lan78xx.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ struct lan78xx_net {
414414
struct net_device *net;
415415
struct usb_device *udev;
416416
struct usb_interface *intf;
417-
void *driver_priv;
418417

419418
unsigned int tx_pend_data_len;
420419
size_t n_tx_urbs;
@@ -449,15 +448,12 @@ struct lan78xx_net {
449448
unsigned long flags;
450449

451450
wait_queue_head_t *wait;
452-
unsigned char suspend_count;
453451

454452
unsigned int maxpacket;
455453
struct timer_list stat_monitor;
456454

457455
unsigned long data[5];
458456

459-
u8 mdix_ctrl;
460-
461457
u32 chipid;
462458
u32 chiprev;
463459
struct mii_bus *mdiobus;

0 commit comments

Comments
 (0)