Skip to content

Commit 1028258

Browse files
nunojsamartinkpetersen
authored andcommitted
scsi: pm: Drop unneeded call to pm_runtime_mark_last_busy()
There's no need to explicitly call pm_runtime_mark_last_busy() since pm_runtime_autosuspend() is now doing it since commit 08071e6 ("PM: runtime: Mark last busy stamp in pm_runtime_autosuspend()") Signed-off-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20251111-scsi-pm-improv-v2-1-626b8491f4b4@analog.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent acd194d commit 1028258

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/scsi/scsi_pm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ static int scsi_runtime_idle(struct device *dev)
205205
/* Insert hooks here for targets, hosts, and transport classes */
206206

207207
if (scsi_is_sdev_device(dev)) {
208-
pm_runtime_mark_last_busy(dev);
209208
pm_runtime_autosuspend(dev);
210209
return -EBUSY;
211210
}

0 commit comments

Comments
 (0)