aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorYang Li <[email protected]>2021-04-29 18:38:25 +0800
committerDavid S. Miller <[email protected]>2021-04-29 15:52:07 -0700
commit8343b1f8b97ac016150c8303f95b63b20b98edf8 (patch)
treec5754d7a69b0b4fb87201f88443ca89a88287719 /tools/perf/util/trace-event-scripting.c
parentbbf6acea6ecf7d6a2c5ce9a399b9b16404392b89 (diff)
bnx2x: Remove redundant assignment to err
Variable 'err' is set to -EIO but this value is never read as it is overwritten with a new value later on, hence it is a redundant assignment and can be removed. Clean up the following clang-analyzer warning: drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:1195:2: warning: Value stored to 'err' is never read [clang-analyzer-deadcode.DeadStores] Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions