aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-02-24 19:45:09 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 02:07:38 -0500
commitf4fe5a9c6d49d760569feed12d54743e0c4fe6e8 (patch)
tree2be4c3410a05db4cefe1328f87caa2e276956dc9 /drivers/net/chelsio
parentc3431ea71ee2ec9d892b5d7a83eb0afcf8c79263 (diff)
chelsio: remove some pointless conditionals before kfree_skb()
Remove some pointless conditionals before kfree_skb(). Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/chelsio')
-rw-r--r--drivers/net/chelsio/sge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c
index 840da83fb3cf..58f6fc055f6a 100644
--- a/drivers/net/chelsio/sge.c
+++ b/drivers/net/chelsio/sge.c
@@ -1967,8 +1967,7 @@ void t1_sge_stop(struct sge *sge)
1967 tx_sched_stop(sge); 1967 tx_sched_stop(sge);
1968 1968
1969 for (i = 0; i < MAX_NPORTS; i++) 1969 for (i = 0; i < MAX_NPORTS; i++)
1970 if (sge->espibug_skb[i]) 1970 kfree_skb(sge->espibug_skb[i]);
1971 kfree_skb(sge->espibug_skb[i]);
1972} 1971}
1973 1972
1974/* 1973/*