diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2009-02-25 01:45:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-27 08:07:38 +0100 |
commit | f4fe5a9c6d49d760569feed12d54743e0c4fe6e8 (patch) | |
tree | 2be4c3410a05db4cefe1328f87caa2e276956dc9 /drivers/net/chelsio | |
parent | llc: remove some pointless conditionals before kfree_skb() (diff) | |
download | linux-f4fe5a9c6d49d760569feed12d54743e0c4fe6e8.tar.xz linux-f4fe5a9c6d49d760569feed12d54743e0c4fe6e8.zip |
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.c | 3 |
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) tx_sched_stop(sge); for (i = 0; i < MAX_NPORTS; i++) - if (sge->espibug_skb[i]) - kfree_skb(sge->espibug_skb[i]); + kfree_skb(sge->espibug_skb[i]); } /* |