diff options
author | Tang Bin <[email protected]> | 2020-04-22 16:15:42 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-22 19:40:07 -0700 |
commit | d0f0c55e7c4ca7c66877064d7c1f4795025e88f8 (patch) | |
tree | 1817c2b0ef6d0ee5e6743b3fafae3c3c3f52fc0c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | bcf3440c6dd78bfe5836ec0990fe36d7b4bb7d20 (diff) |
net: phy: Use IS_ERR() to check and simplify code
Use IS_ERR() and PTR_ERR() instead of PTR_ZRR_OR_ZERO()
to simplify code, avoid redundant paramenter definitions
and judgements.
Signed-off-by: Zhang Shengju <[email protected]>
Signed-off-by: Tang Bin <[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