+1
-2
drivers/scsi/scsi_transport_sas.c
+1
-2
drivers/scsi/scsi_transport_sas.c
···
1621
1621
list_del(&rphy->list);
1622
1622
mutex_unlock(&sas_host->lock);
1623
1623
1624
-
sas_bsg_remove(shost, rphy);
1625
-
1626
1624
transport_destroy_device(dev);
1627
1625
1628
1626
put_device(dev);
···
1679
1681
}
1680
1682
1681
1683
sas_rphy_unlink(rphy);
1684
+
sas_bsg_remove(NULL, rphy);
1682
1685
transport_remove_device(dev);
1683
1686
device_del(dev);
1684
1687
}