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:
parent
044b1a9331
commit
77df3500a7
|
@ -530,7 +530,6 @@ int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout)
|
|||
*/
|
||||
if (stat == 0xff)
|
||||
return -ENODEV;
|
||||
touch_softlockup_watchdog();
|
||||
touch_nmi_watchdog();
|
||||
}
|
||||
return -EBUSY;
|
||||
|
|
Loading…
Reference in New Issue