diff options
| author | Jason Yan <[email protected]> | 2020-08-31 16:11:24 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-02 22:49:07 -0400 |
| commit | 6c53316d48989f95986d3fa78c38b8ca90905bbb (patch) | |
| tree | d87377e189f0e0c8ab1475ef8d2a0cce92c4e8a7 /tools/perf/scripts/python | |
| parent | c65b4f37db46c1b2e213d1c7f4baadf998f50fff (diff) | |
scsi: fnic: Remove set but not used variable in is_fnic_fip_flogi_reject()
This addresses the following gcc warning with "make W=1":
drivers/scsi/fnic/fnic_fcs.c: In function ‘is_fnic_fip_flogi_reject’:
drivers/scsi/fnic/fnic_fcs.c:317:9: warning: variable ‘els_len’ set but
not used [-Wunused-but-set-variable]
317 | size_t els_len = 0;
| ^~~~~~~
drivers/scsi/fnic/fnic_fcs.c:312:21: warning: variable ‘els_dtype’ set
but not used [-Wunused-but-set-variable]
312 | enum fip_desc_type els_dtype = 0;
| ^~~~~~~~~
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Jason Yan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions