commit | d5383b0376643245d82230d8a974edd193ec900c | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Apr 30 18:02:52 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 12:50:15 2020 -0700 |
tree | ec70a0e82bc047e24ef805713e965b815d923009 | |
parent | 52c1f794845411c39ee6deedb443894ca141b4a7 [diff] |
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>