diff options
-rw-r--r-- | drivers/scsi/libsas/sas_discover.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c index 4be5ddad7be7..c1ac99d25f5e 100644 --- a/drivers/scsi/libsas/sas_discover.c +++ b/drivers/scsi/libsas/sas_discover.c | |||
@@ -281,8 +281,6 @@ static void sas_destruct_devices(struct work_struct *work) | |||
281 | sas_rphy_delete(dev->rphy); | 281 | sas_rphy_delete(dev->rphy); |
282 | dev->rphy = NULL; | 282 | dev->rphy = NULL; |
283 | sas_unregister_common_dev(port, dev); | 283 | sas_unregister_common_dev(port, dev); |
284 | |||
285 | sas_put_device(dev); | ||
286 | } | 284 | } |
287 | } | 285 | } |
288 | 286 | ||