Skip to content

Commit

Permalink
[PATCH] ep93xx_eth: fix unlikely(x) > y test
Browse files Browse the repository at this point in the history
Fix unlikely(x) > y test in ep93xx_eth.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Lennert Buytenhek authored and Jeff Garzik committed Nov 1, 2006
1 parent 2d38cab commit 79c356f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/arm/ep93xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static int ep93xx_xmit(struct sk_buff *skb, struct net_device *dev)
struct ep93xx_priv *ep = netdev_priv(dev);
int entry;

if (unlikely(skb->len) > MAX_PKT_SIZE) {
if (unlikely(skb->len > MAX_PKT_SIZE)) {
ep->stats.tx_dropped++;
dev_kfree_skb(skb);
return NETDEV_TX_OK;
Expand Down

0 comments on commit 79c356f

Please sign in to comment.