sh_eth: remove checks around dev_kfree_skb() calls
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Jun 2014 00:10:00 +0000 (04:10 +0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jul 2014 00:37:46 +0000 (17:37 -0700)
commit179d80aff82bf8dff9db30589fe5a2297c454d35
treee7c83796df6fd4a83c0fe290e3570261f008fa35
parent236294774e24b7a7ccbf2c7b699ca7cf2b897f94
sh_eth: remove checks around dev_kfree_skb() calls

Since consume_skb() (and hence dev_kfree_skb() macro) checks the passed pointer
for NULL, there's no need to check for NULL before invoking dev_kfree_skb().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c