commit | 91d80683fc1828141e87babbd01f40e408864914 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Wed Nov 04 00:17:08 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 04 20:59:07 2015 -0500 |
tree | 190e1d75f782b2e4c19a9400caf6b94d303cd07e | |
parent | 1f71e8c96fc654724723ce987e0a8b2aeb81746d [diff] |
sh_eth: kill 'ret' variable in sh_eth_ring_init() The 'ret' local variable in sh_eth_ring_init() serves no useful purpose as the only values it gets assigned are 0 and -ENOMEM both of which could be returned directly... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>