summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2014-08-18 08:01:52 +0200
committerChristoph Hellwig <hch@lst.de>2014-09-16 18:09:57 +0200
commit182801ff266e61d2c4b18aab20f0ffed0f36b873 (patch)
treefd21317c90806bfdf3e9b18f4be0d212d2803dba
parentcsiostor: Use pci_enable_msix_range() instead of pci_enable_msix() (diff)
downloadlinux-182801ff266e61d2c4b18aab20f0ffed0f36b873.tar.xz
linux-182801ff266e61d2c4b18aab20f0ffed0f36b873.zip
pmcraid: Get rid of a redundant assignment
Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--drivers/scsi/pmcraid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index 6f3275d020a0..6e575edf29f4 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -4746,7 +4746,6 @@ pmcraid_isr_legacy:
pinstance->hrrq_vector[0].drv_inst = pinstance;
pinstance->hrrq_vector[0].vector = pdev->irq;
pinstance->num_hrrq = 1;
- rc = 0;
rc = request_irq(pdev->irq, pmcraid_isr, IRQF_SHARED,
PMCRAID_DRIVER_NAME, &pinstance->hrrq_vector[0]);