summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/linit.c
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>2017-12-27 05:34:49 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-04 05:26:43 +0100
commit75be67cd155d95658507b15ffe905c36243526ae (patch)
tree552bfb9ad6523cdafb3a2d14c79c0e66983486a0 /drivers/scsi/aacraid/linit.c
parentscsi: aacraid: Skip schedule rescan in case of kdump (diff)
downloadlinux-75be67cd155d95658507b15ffe905c36243526ae.tar.xz
linux-75be67cd155d95658507b15ffe905c36243526ae.zip
scsi: aacraid: Remove unused rescan variable
Remove unused rescan variable. Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r--drivers/scsi/aacraid/linit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index bf9d2b72da62..ad6ec573cc87 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -1790,7 +1790,7 @@ static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
if (error)
goto out_deinit;
- aac_scan_host(aac, AAC_INIT);
+ aac_scan_host(aac);
pci_enable_pcie_error_reporting(pdev);
pci_save_state(pdev);
@@ -2077,7 +2077,7 @@ static void aac_pci_resume(struct pci_dev *pdev)
if (sdev->sdev_state == SDEV_OFFLINE)
sdev->sdev_state = SDEV_RUNNING;
scsi_unblock_requests(aac->scsi_host_ptr);
- aac_scan_host(aac, AAC_RESCAN);
+ aac_scan_host(aac);
pci_save_state(pdev);
dev_err(&pdev->dev, "aacraid: PCI error - resume\n");