diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-30 20:39:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-30 20:39:37 -0500 |
commit | 5ed1836814d908f45cafde0e79cb85314ab9d41d (patch) | |
tree | 53db7ccf23c78d105b63adf4ee40a07068f0f856 /drivers/net/pasemi_mac.c | |
parent | ab70537c32a3245325b48774664da588904e47f2 (diff) | |
parent | eb4dea5853046727bfbb579f0c9a8cae7369f7c6 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
net: Fix percpu counters deadlock
cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits: net
drivers/net/usb: use USB API functions rather than constants
cls_cgroup: clean up Kconfig
cls_cgroup: clean up for cgroup part
cls_cgroup: fix an oops when removing a cgroup
EtherExpress16: fix printing timed out status
mlx4_en: Added "set_ringparam" Ethtool interface implementation
mlx4_en: Always allocate RX ring for each interrupt vector
mlx4_en: Verify number of RX rings doesn't exceed MAX_RX_RINGS
IPVS: Make "no destination available" message more consistent between schedulers
net: KS8695: removed duplicated #include
tun: Fix SIOCSIFHWADDR error.
smsc911x: compile fix re netif_rx signature changes
netns: foreach_netdev_safe is insufficient in default_device_exit
net: make xfrm_statistics_seq_show use generic snmp_fold_field
net: Fix more NAPI interface netdev argument drop fallout.
net: Fix unused variable warnings in pasemi_mac.c and spider_net.c
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r-- | drivers/net/pasemi_mac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index dcd199045613..5b7a574ce571 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c | |||
@@ -954,7 +954,6 @@ static irqreturn_t pasemi_mac_rx_intr(int irq, void *data) | |||
954 | { | 954 | { |
955 | const struct pasemi_mac_rxring *rxring = data; | 955 | const struct pasemi_mac_rxring *rxring = data; |
956 | struct pasemi_mac *mac = rxring->mac; | 956 | struct pasemi_mac *mac = rxring->mac; |
957 | struct net_device *dev = mac->netdev; | ||
958 | const struct pasemi_dmachan *chan = &rxring->chan; | 957 | const struct pasemi_dmachan *chan = &rxring->chan; |
959 | unsigned int reg; | 958 | unsigned int reg; |
960 | 959 | ||
@@ -1634,7 +1633,6 @@ static void pasemi_mac_set_rx_mode(struct net_device *dev) | |||
1634 | static int pasemi_mac_poll(struct napi_struct *napi, int budget) | 1633 | static int pasemi_mac_poll(struct napi_struct *napi, int budget) |
1635 | { | 1634 | { |
1636 | struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); | 1635 | struct pasemi_mac *mac = container_of(napi, struct pasemi_mac, napi); |
1637 | struct net_device *dev = mac->netdev; | ||
1638 | int pkts; | 1636 | int pkts; |
1639 | 1637 | ||
1640 | pasemi_mac_clean_tx(tx_ring(mac)); | 1638 | pasemi_mac_clean_tx(tx_ring(mac)); |