aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDanielle Ratson <[email protected]>2021-11-23 09:54:46 +0200
committerDavid S. Miller <[email protected]>2021-11-23 11:44:31 +0000
commited1607e2ddf4b3196703b209428cbce3de869ff8 (patch)
tree27f9eb756d8bfe4a3df0d6a570184482c5ca022d /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3b0e04140bc30f9f5c254a68013a901e5390b0a8 (diff)
mlxsw: spectrum_router: Remove deadcode in mlxsw_sp_rif_mac_profile_find
The function idr_for_each_entry() already checks that the next entry in the IDR is not NULL. Therefore, checking that again in every iteration leads to deadcode. Remove the unnecessary check in order to avoid that. Addresses-Coverity: ("Logically dead code") Signed-off-by: Danielle Ratson <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions