diff options
| author | Wei Yongjun <[email protected]> | 2020-07-09 19:46:36 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-07-13 23:11:15 -0400 |
| commit | dd06a40201fe8a4db8071b4939fafc5905557b01 (patch) | |
| tree | bd3fb074c136b8256f657e53f2335bbd9cd9fd1e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6edfdcfe285e499994b94a0f93e1f46ab2398162 (diff) | |
scsi: target: Remove unused variable 'tpg'
Gcc reports warning as follows:
drivers/target/target_core_pr.c:1162:26: warning:
variable 'tpg' set but not used [-Wunused-but-set-variable]
1162 | struct se_portal_group *tpg;
| ^~~
After commit 63c9ffe473d3 ("scsi: target: Check enforce_pr_isids during
registration"), 'tpg' is never used. Remove it to avoid build warning.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Hulk Robot <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions