diff options
author | Jiapeng Chong <[email protected]> | 2021-04-29 18:25:46 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-29 15:50:20 -0700 |
commit | bbf6acea6ecf7d6a2c5ce9a399b9b16404392b89 (patch) | |
tree | 9f79921149ea8d636e17ba121f38e6b8e2781c17 /tools/perf/util/trace-event-scripting.c | |
parent | 57e1d8206e48ef78e1b25823fc131ebe60c76b61 (diff) |
net: macb: Remove redundant assignment to queue
Variable queue is set to bp->queues but these values is not used as it
is overwritten later on, hence redundant assignment can be removed.
Cleans up the following clang-analyzer warning:
drivers/net/ethernet/cadence/macb_main.c:4919:21: warning: Value stored
to 'queue' during its initialization is never read
[clang-analyzer-deadcode.DeadStores].
drivers/net/ethernet/cadence/macb_main.c:4832:21: warning: Value stored
to 'queue' during its initialization is never read
[clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Nicolas Ferre <[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