diff options
author | 2020-04-30 18:02:52 +0300 | |
---|---|---|
committer | 2020-04-30 12:50:15 -0700 | |
commit | d5383b0376643245d82230d8a974edd193ec900c (patch) | |
tree | ec70a0e82bc047e24ef805713e965b815d923009 /include/linux/tcp.h | |
parent | stmmac: intel: Convert to use pci_alloc_irq_vectors() API (diff) | |
download | wireguard-linux-d5383b0376643245d82230d8a974edd193ec900c.tar.xz wireguard-linux-d5383b0376643245d82230d8a974edd193ec900c.zip |
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 'include/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions