commit | c9caceca25854eff4328c89045793a91bf8f9ee3 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Tue Mar 31 15:06:26 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 31 15:06:26 2009 -0700 |
tree | fc43f8c43a4c597cdea652fe349270d2ca47e731 | |
parent | bb1fee86fdc7df1fd145fd3bfb16635274b7c73d [diff] [blame] |
core: remove pointless conditional before kfree() Remove pointless conditional before kfree(). Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 244ca56..d9d5160 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c
@@ -261,8 +261,7 @@ ret = 0; err_out: - if (rule_buf) - kfree(rule_buf); + kfree(rule_buf); return ret; }