diff options
Diffstat (limited to 'drivers/net/wireless/p54/p54pci.c')
-rw-r--r-- | drivers/net/wireless/p54/p54pci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c index d21c509325fe..c28220e401b9 100644 --- a/drivers/net/wireless/p54/p54pci.c +++ b/drivers/net/wireless/p54/p54pci.c | |||
@@ -332,13 +332,6 @@ static void p54p_tx(struct ieee80211_hw *dev, struct sk_buff *skb, | |||
332 | 332 | ||
333 | P54P_WRITE(dev_int, cpu_to_le32(ISL38XX_DEV_INT_UPDATE)); | 333 | P54P_WRITE(dev_int, cpu_to_le32(ISL38XX_DEV_INT_UPDATE)); |
334 | P54P_READ(dev_int); | 334 | P54P_READ(dev_int); |
335 | |||
336 | /* FIXME: unlikely to happen because the device usually runs out of | ||
337 | memory before we fill the ring up, but we can make it impossible */ | ||
338 | if (idx - device_idx > ARRAY_SIZE(ring_control->tx_data) - 2) { | ||
339 | p54_free_skb(dev, skb); | ||
340 | printk(KERN_INFO "%s: tx overflow.\n", wiphy_name(dev->wiphy)); | ||
341 | } | ||
342 | } | 335 | } |
343 | 336 | ||
344 | static void p54p_stop(struct ieee80211_hw *dev) | 337 | static void p54p_stop(struct ieee80211_hw *dev) |