aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001/pm8001_sas.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_sas.c')
-rw-r--r--drivers/scsi/pm8001/pm8001_sas.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c
index f50ac44b950e..ba3088c99bfa 100644
--- a/drivers/scsi/pm8001/pm8001_sas.c
+++ b/drivers/scsi/pm8001/pm8001_sas.c
@@ -865,13 +865,11 @@ ex_err:
865static void pm8001_dev_gone_notify(struct domain_device *dev) 865static void pm8001_dev_gone_notify(struct domain_device *dev)
866{ 866{
867 unsigned long flags = 0; 867 unsigned long flags = 0;
868 u32 tag;
869 struct pm8001_hba_info *pm8001_ha; 868 struct pm8001_hba_info *pm8001_ha;
870 struct pm8001_device *pm8001_dev = dev->lldd_dev; 869 struct pm8001_device *pm8001_dev = dev->lldd_dev;
871 870
872 pm8001_ha = pm8001_find_ha_by_dev(dev); 871 pm8001_ha = pm8001_find_ha_by_dev(dev);
873 spin_lock_irqsave(&pm8001_ha->lock, flags); 872 spin_lock_irqsave(&pm8001_ha->lock, flags);
874 pm8001_tag_alloc(pm8001_ha, &tag);
875 if (pm8001_dev) { 873 if (pm8001_dev) {
876 u32 device_id = pm8001_dev->device_id; 874 u32 device_id = pm8001_dev->device_id;
877 875