diff options
author | Jean Sacren <[email protected]> | 2021-10-06 00:41:20 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-06 15:17:28 +0100 |
commit | fe5d8bd3d3ea7422b8ae8f1863ac2ab06998947a (patch) | |
tree | 7931449b4fd6faceeca92d921795c5e9551dfcf6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 6c601aac4976531ccfbda74e04ef9bf3626f205e (diff) |
net: tg3: fix obsolete check of !err
The err variable is checked for true or false a few lines above. When
!err is checked again, it always evaluates to true. Therefore we should
skip this check.
We should also group the adjacent statements together for readability.
Signed-off-by: Jean Sacren <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions