diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-08-16 15:33:20 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-08-30 13:25:03 +0200 |
commit | 05a9874426af47e29b8949896e2337431feceac0 (patch) | |
tree | 7ee230bf4d74365ee0e25d8b2d87b9dd3e603f55 /drivers/scsi/aacraid/commsup.c | |
parent | scsi: raid_attrs: fix unused variable warning (diff) | |
download | linux-05a9874426af47e29b8949896e2337431feceac0.tar.xz linux-05a9874426af47e29b8949896e2337431feceac0.zip |
scsi: aacraid: remove unused variables dev and cpu
Variables dev and cpu are not being used and are redundant and hence can
be removed.
Cleans up clang warnings:
warning: variable 'dev' set but not used [-Wunused-but-set-variable]
warning: variable 'cpu' set but not used [-Wunused-but-set-variable]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r-- | drivers/scsi/aacraid/commsup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index 6e1b022a823d..1e77d96a18f2 100644 --- a/drivers/scsi/aacraid/commsup.c +++ b/drivers/scsi/aacraid/commsup.c @@ -2586,9 +2586,7 @@ int aac_acquire_irq(struct aac_dev *dev) void aac_free_irq(struct aac_dev *dev) { int i; - int cpu; - cpu = cpumask_first(cpu_online_mask); if (aac_is_src(dev)) { if (dev->max_msix > 1) { for (i = 0; i < dev->max_msix; i++) |