diff options
| author | Qian Cai <[email protected]> | 2019-07-26 10:25:43 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-07 21:29:49 -0400 |
| commit | e5460f084b84f06756e558fbfd2313202fb1dbd0 (patch) | |
| tree | b90d0b5aefeadb7a5ae5b264c6cd999570883bd7 /tools/perf/scripts/python | |
| parent | 88d5c343949ed4dc7547f307bbbb1aff3e9fa1d4 (diff) | |
scsi: megaraid_sas: Fix a compilation warning
The commit de516379e85f ("scsi: megaraid_sas: changes to function
prototypes") introduced a comilation warning due to it changed the function
prototype of read_fw_status_reg() to take an instance pointer instead, but
forgot to remove an unused variable.
drivers/scsi/megaraid/megaraid_sas_fusion.c: In function
'megasas_fusion_update_can_queue':
drivers/scsi/megaraid/megaraid_sas_fusion.c:326:39: warning: variable
'reg_set' set but not used [-Wunused-but-set-variable]
struct megasas_register_set __iomem *reg_set;
^~~~~~~
Fixes: de516379e85f ("scsi: megaraid_sas: changes to function prototypes")
Signed-off-by: Qian Cai <[email protected]>
Acked-by: Sumit Saxena <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions