summaryrefslogtreecommitdiff
path: root/drivers/net/tulip/de2104x.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-05-30 07:59:02 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-07-09 02:16:39 (GMT)
commit287aa83dffd1b39859f49d73b0d67f57106de5f1 (patch)
tree8101259996254901fd15f8be6314efddd86e476a /drivers/net/tulip/de2104x.c
parent40738f3fcdb951fb8ade286dc1ea05812acc94db (diff)
downloadlinux-fsl-qoriq-287aa83dffd1b39859f49d73b0d67f57106de5f1.tar.xz
drivers/net: fix comparisons of unsigned < 0
Recent gcc versions emit warnings when unsigned variables are compared < 0 or >= 0. Signed-off-by: Bill Nottingham <notting@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tulip/de2104x.c')
-rw-r--r--drivers/net/tulip/de2104x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index 8617298..d380e0b 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -785,7 +785,6 @@ static void __de_set_rx_mode (struct net_device *dev)
de->tx_head = NEXT_TX(entry);
- BUG_ON(TX_BUFFS_AVAIL(de) < 0);
if (TX_BUFFS_AVAIL(de) == 0)
netif_stop_queue(dev);