aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJose Abreu <[email protected]>2018-05-18 14:56:09 +0100
committerDavid S. Miller <[email protected]>2018-05-18 11:00:16 -0400
commit61fac60a6ab72efb3b1ef7d052724fbeed52fe97 (patch)
treefc1b7bfb3026fe7e17c0f449039884c1ecf5e9da /scripts/bpf_helpers_doc.py
parentd2df9ea0ade7ef73710603da97b72394c53a111c (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 <[email protected]> Cc: David S. Miller <[email protected]> Cc: Joao Pinto <[email protected]> Cc: Vitor Soares <[email protected]> Cc: Giuseppe Cavallaro <[email protected]> Cc: Alexandre Torgue <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions