diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-08-31 11:11:26 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-03 05:49:07 +0300 |
commit | 16d7fd9079af2a5104c445fe0e5d5ed8d403e2f2 (patch) | |
tree | 65c98cce58115627d42f3f951203af20007820e0 /include/scsi/scsi_transport_fc.h | |
parent | 446034e3d419a069348007bc84364cef017a442a (diff) | |
download | linux-16d7fd9079af2a5104c445fe0e5d5ed8d403e2f2.tar.xz |
scsi: fnic: Remove set but not used 'eth_hdrs_stripped'
This addresses the following gcc warning with "make W=1":
drivers/scsi/fnic/fnic_fcs.c: In function ‘fnic_rq_cmpl_frame_recv’:
drivers/scsi/fnic/fnic_fcs.c:840:15: warning: variable
‘eth_hdrs_stripped’ set but not used [-Wunused-but-set-variable]
840 | unsigned int eth_hdrs_stripped;
| ^~~~~~~~~~~~~~~~~
Link: https://lore.kernel.org/r/20200831081126.3251288-5-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 'include/scsi/scsi_transport_fc.h')
0 files changed, 0 insertions, 0 deletions