Skip to contentSkip to conversation

drivers/usb/net/: remove two unused multicast_filter_limit variables

PATCH In review Adrian Bunk 2 participants 2 messages Jul 2, 2005 – Jul 4, 2005 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/usb/net/: remove two unused multicast_filter_limit variables

The only uses of both variables were recently removed.

---

 drivers/usb/net/pegasus.c |    1 -
 drivers/usb/net/rtl8150.c |    2 --
 2 files changed, 3 deletions(-)
drivers/usb/net/pegasus.c renamed from drivers/usb/net/pegasus.c.old +0 -1
@@ -59,7 +59,6 @@
 
 static int loopback = 0;
 static int mii_mode = 0;
-static int multicast_filter_limit = 32;
 
 static struct usb_eth_dev usb_dev_id[] = {
 #define	PEGASUS_DEV(pn, vid, pid, flags)	\
drivers/usb/net/rtl8150.c renamed from drivers/usb/net/rtl8150.c.old +0 -2
@@ -167,8 +167,6 @@
 
 typedef struct rtl8150 rtl8150_t;
 
-static unsigned long multicast_filter_limit = 32;
-
 static void fill_skb_pool(rtl8150_t *);
 static void free_skb_pool(rtl8150_t *);
 static inline struct sk_buff *pull_skb(rtl8150_t *);
#1 lore raw

ok, looks all right to me.

Petko

Quoted 33 lines · Adrian Bunk

The only uses of both variables were recently removed.

---

drivers/usb/net/pegasus.c |    1 -
drivers/usb/net/rtl8150.c |    2 --
2 files changed, 3 deletions(-)
drivers/usb/net/pegasus.c renamed from drivers/usb/net/pegasus.c.old +0 -1
@@ -59,7 +59,6 @@
 
 static int loopback = 0;
 static int mii_mode = 0;
-static int multicast_filter_limit = 32;
 
 static struct usb_eth_dev usb_dev_id[] = {
 #define	PEGASUS_DEV(pn, vid, pid, flags)	\
drivers/usb/net/rtl8150.c renamed from drivers/usb/net/rtl8150.c.old +0 -2
@@ -167,8 +167,6 @@
 
 typedef struct rtl8150 rtl8150_t;
 
-static unsigned long multicast_filter_limit = 32;
-
 static void fill_skb_pool(rtl8150_t *);
 static void free_skb_pool(rtl8150_t *);
 static inline struct sk_buff *pull_skb(rtl8150_t *);