diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-23 13:24:15 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-24 22:31:57 -0400 |
commit | 70b4de0bb928c61ba66c41c424a06bef1beb1bd8 (patch) | |
tree | 0653f2924e1a923a0df6f97a1a7b8dae6a17f97a /net/wireless/mesh.c | |
parent | 2ad6e0c339d278458b46ff716fec0a7739ca3cf5 (diff) |
scsi: bfa: Remove set but unused variable 'rp'
This change subsequently makes 'rp_fcs' unused also. Remove that too.
Fixes the following W=1 kernel build warning(s):
drivers/scsi/bfa/bfa_fcpim.c: In function ‘bfa_fcpim_lunmask_delete’:
drivers/scsi/bfa/bfa_fcpim.c:2338:22: warning: variable ‘rp’ set but not used [-Wunused-but-set-variable]
2338 | struct bfa_rport_s *rp = NULL;
| ^~
Link: https://lore.kernel.org/r/20200723122446.1329773-10-lee.jones@linaro.org
Cc: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Cc: Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/wireless/mesh.c')
0 files changed, 0 insertions, 0 deletions