aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2021-05-13 18:49:37 +0800
committerMartin K. Petersen <[email protected]>2021-05-14 23:09:24 -0400
commitf8a78e9118ee6cee7c24113891a0e24b77486f5e (patch)
tree3b208dd43be5e9ac275356e67eac42851e9656c3 /tools/perf/scripts/python/stackcollapse.py
parent96f3903c4c7ac2c2794a9d5d6bbd2c84b079c682 (diff)
scsi: target: sbp_target: Remove redundant assignment to pg_size
Variable pg_size is set to '0x100 << pg_size', but this value is never read and it is not used later on. Hence it is a redundant assignment and can be removed. Clean up the following clang-analyzer warning: drivers/target/sbp/sbp_target.c:1264:3: warning: Value stored to 'pg_size' is never read [clang-analyzer-deadcode.DeadStores]. Link: https://lore.kernel.org/r/1620902977-57076-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: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions