diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2009-02-23 21:45:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-24 23:33:52 -0800 |
commit | 800d55f146098c5ffd1914d7eef2fd4a6d558b1d (patch) | |
tree | ced8debeb88c78eb677c7842ea312be09caf21de /net/netlink | |
parent | 1ce85fe402137824246bad03ff85f3913d565c17 (diff) | |
download | blackbird-op-linux-800d55f146098c5ffd1914d7eef2fd4a6d558b1d.tar.gz blackbird-op-linux-800d55f146098c5ffd1914d7eef2fd4a6d558b1d.zip |
ipv6: Remove some pointless conditionals before kfree_skb()
Remove some pointless conditionals before kfree_skb().
The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression E;
@@
- if (E)
- kfree_skb(E);
+ kfree_skb(E);
// </smpl>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions