projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3431ea
)
chelsio: remove some pointless conditionals before kfree_skb()
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 25 Feb 2009 00:45:09 +0000
(
00:45
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:07:38 +0000
(23:07 -0800)
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>
drivers/net/chelsio/sge.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/chelsio/sge.c
b/drivers/net/chelsio/sge.c
index 840da83fb3cf46669515ba8b6d849aa942d14374..58f6fc055f6a55cd1e9e3bc52af92b96cd31c9a4 100644
(file)
--- 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]);
}
/*