diff options
| author | Jason Yan <yanaijie@huawei.com> | 2020-08-31 16:11:24 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-02 22:49:07 -0400 |
| commit | 6c53316d48989f95986d3fa78c38b8ca90905bbb (patch) | |
| tree | d87377e189f0e0c8ab1475ef8d2a0cce92c4e8a7 /tools/perf/scripts/python | |
| parent | scsi: fnic: Remove set but not used 'old_vlan' (diff) | |
| download | linux-6c53316d48989f95986d3fa78c38b8ca90905bbb.tar.gz linux-6c53316d48989f95986d3fa78c38b8ca90905bbb.zip | |
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/20200831081126.3251288-3-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
