Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e87ca424 authored by Wei Yongjun's avatar Wei Yongjun Committed by Dmitry Torokhov
Browse files

Input: cyttsp4 - remove useless NULL test from cyttsp4_watchdog_timer()



Remove useless NULL test from cyttsp4_watchdog_timer().

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarFerruh Yigit <fery@cypress.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d4879c9e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1246,9 +1246,6 @@ static void cyttsp4_watchdog_timer(unsigned long handle)

	dev_vdbg(cd->dev, "%s: Watchdog timer triggered\n", __func__);

	if (!cd)
		return;

	if (!work_pending(&cd->watchdog_work))
		schedule_work(&cd->watchdog_work);