From: Fabian Frederick <[email protected]>

Remove unused variable in hpsa_free_cmd_pool.

Reviewed-by: Scott Teel <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
Acked-by: Don Brace <[email protected]>
Signed-off-by: Don Brace <[email protected]>
---
 drivers/scsi/hpsa.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index dc81d88..11d21ef 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -6482,11 +6482,11 @@ static void hpsa_free_cmd_pool(struct ctlr_info *h)
 
 static void hpsa_irq_affinity_hints(struct ctlr_info *h)
 {
-       int i, cpu, rc;
+       int i, cpu;
 
        cpu = cpumask_first(cpu_online_mask);
        for (i = 0; i < h->msix_vector; i++) {
-               rc = irq_set_affinity_hint(h->intr[i], get_cpu_mask(cpu));
+               irq_set_affinity_hint(h->intr[i], get_cpu_mask(cpu));
                cpu = cpumask_next(cpu, cpu_online_mask);
        }
 }

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to