aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2020-05-16 07:06:33 +0800
committerSaeed Mahameed <[email protected]>2020-05-22 16:46:07 -0700
commit2639324a8fb69e1db88ef985e7def18a6bc106d1 (patch)
treedb955ea4b7872efc32ca3220e153760930ac442f /tools/perf/scripts/python/event_analyzing_sample.py
parent593532668f635d19d207510e0fbb5c2250f56b6f (diff)
net/mlx5e: Use IS_ERR() to check and simplify code
Use IS_ERR() and PTR_ERR() instead of PTR_ERR_OR_ZERO() to simplify code, avoid redundant judgements. Signed-off-by: Zhang Shengju <[email protected]> Signed-off-by: Tang Bin <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions