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:
Guoqing Jiang 2019-09-26 15:13:44 +02:00 committed by David S. Miller
parent 044b1a9331
commit 77df3500a7
1 changed files with 0 additions and 1 deletions

View File

@ -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;