aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2021-04-27 18:52:47 +0800
committerMarc Kleine-Budde <[email protected]>2021-05-27 09:42:22 +0200
commit9208f7bf053a6fb32f9276a3b78c2b7fb3c0b0cb (patch)
tree9152f96e9582f6cdfacef0dfac2c853395d205b9 /tools/perf/scripts/python/compaction-times.py
parentc69d190f7bb9a03cf5237d45a457993730d01605 (diff)
can: softing: Remove redundant variable ptr
The value stored to ptr in the calculations this patch removes is not used, so the calculation and the assignment can be removed. Cleans up the following clang-analyzer warning: drivers/net/can/softing/softing_main.c:279:3: warning: Value stored to 'ptr' is never read [clang-analyzer-deadcode.DeadStores]. drivers/net/can/softing/softing_main.c:242:3: warning: Value stored to 'ptr' is never read [clang-analyzer-deadcode.DeadStores]. Link: https://lore.kernel.org/r/1619520767-80948-1-git-send-email-jiapeng.chong@linux.alibaba.com Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions