diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-30 18:02:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 22:50:15 +0300 |
commit | d5383b0376643245d82230d8a974edd193ec900c (patch) | |
tree | ec70a0e82bc047e24ef805713e965b815d923009 /drivers/net/ipvlan | |
parent | 52c1f794845411c39ee6deedb443894ca141b4a7 (diff) | |
download | linux-d5383b0376643245d82230d8a974edd193ec900c.tar.xz |
stmmac: intel: Eliminate useless conditions and variables
There are useless conditions like
func()
{
...
int ret;
...
ret = foo();
if (ret)
return ret;
return 0;
}
which may be replaced with direct return statement, what we have done here.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipvlan')
0 files changed, 0 insertions, 0 deletions