mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
ide: remove unnecessary touch_softlockup_watchdog
Call touch_softlockup_watchdog before touch_nmi_watchdog is not needed, since touch_softlockup_watchdog is called inside touch_nmi_watchdog. Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
044b1a9331
commit
77df3500a7
@@ -530,7 +530,6 @@ int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout)
|
|||||||
*/
|
*/
|
||||||
if (stat == 0xff)
|
if (stat == 0xff)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
touch_softlockup_watchdog();
|
|
||||||
touch_nmi_watchdog();
|
touch_nmi_watchdog();
|
||||||
}
|
}
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
|
Reference in New Issue
Block a user