summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/pegasus.h
diff options
context:
space:
mode:
authorPetko Manolov <petkan@nucleusys.com>2013-04-26 00:41:21 +0200
committerDavid S. Miller <davem@davemloft.net>2013-04-29 19:57:49 +0200
commit313a58e487ab3eb80e7e1f9baddc75968288aad9 (patch)
tree5dbb435244b98990b1d9286a59622ced4ccfea3a /drivers/net/usb/pegasus.h
parentipv6: Kill ipv6 dependency of icmpv6_send(). (diff)
downloadlinux-313a58e487ab3eb80e7e1f9baddc75968288aad9.tar.xz
linux-313a58e487ab3eb80e7e1f9baddc75968288aad9.zip
drivers: net: usb: pegasus: remove skb pool
The socket buffer pool for the receive path is now gone. It's existence didn't make much difference (performance-wise) and the code is better off without the spinlocks protecting it. Signed-off-by: Petko Manolov <petkan@nucleusys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/pegasus.h')
-rw-r--r--drivers/net/usb/pegasus.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/usb/pegasus.h b/drivers/net/usb/pegasus.h
index 65b78b35b73c..00d44e3ff744 100644
--- a/drivers/net/usb/pegasus.h
+++ b/drivers/net/usb/pegasus.h
@@ -13,7 +13,6 @@
#define HAS_HOME_PNA 0x40000000
#define PEGASUS_MTU 1536
-#define RX_SKBS 4
#define EPROM_WRITE 0x01
#define EPROM_READ 0x02
@@ -97,11 +96,9 @@ typedef struct pegasus {
struct tasklet_struct rx_tl;
struct delayed_work carrier_check;
struct urb *ctrl_urb, *rx_urb, *tx_urb, *intr_urb;
- struct sk_buff *rx_pool[RX_SKBS];
struct sk_buff *rx_skb;
struct usb_ctrlrequest dr;
wait_queue_head_t ctrl_wait;
- spinlock_t rx_pool_lock;
int chip;
unsigned char intr_buff[8];
__u8 tx_buff[PEGASUS_MTU];