diff options
author | Bill Nottingham <notting@redhat.com> | 2007-05-30 03:59:02 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-08 22:16:39 -0400 |
commit | 287aa83dffd1b39859f49d73b0d67f57106de5f1 (patch) | |
tree | 8101259996254901fd15f8be6314efddd86e476a /drivers/net/tulip | |
parent | 40738f3fcdb951fb8ade286dc1ea05812acc94db (diff) |
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')
-rw-r--r-- | drivers/net/tulip/de2104x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index 861729806dc1..d380e0b3f05a 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) | |||
785 | 785 | ||
786 | de->tx_head = NEXT_TX(entry); | 786 | de->tx_head = NEXT_TX(entry); |
787 | 787 | ||
788 | BUG_ON(TX_BUFFS_AVAIL(de) < 0); | ||
789 | if (TX_BUFFS_AVAIL(de) == 0) | 788 | if (TX_BUFFS_AVAIL(de) == 0) |
790 | netif_stop_queue(dev); | 789 | netif_stop_queue(dev); |
791 | 790 | ||