diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2018-05-18 14:56:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-18 11:00:16 -0400 |
commit | 61fac60a6ab72efb3b1ef7d052724fbeed52fe97 (patch) | |
tree | fc1b7bfb3026fe7e17c0f449039884c1ecf5e9da /sound/firewire/lib.h | |
parent | d2df9ea0ade7ef73710603da97b72394c53a111c (diff) |
net: stmmac: Remove if condition by taking advantage of hwif return code
We can remove the if condition and check if return code is different
than -EINVAL, meaning callback is present.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Vitor Soares <soares@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/firewire/lib.h')
0 files changed, 0 insertions, 0 deletions