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>
Tento commit je obsažen v:

odevzdal
Martin K. Petersen

rodič
0eeec01488
revize
05a9874426
@@ -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++)
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele