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

Remove useless NULL test from cyttsp4_watchdog_timer().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Ferruh Yigit <fery@cypress.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Wei Yongjun 2013-08-25 23:24:35 -07:00 committed by Dmitry Torokhov
parent d4879c9e0f
commit e87ca42464
1 changed files with 0 additions and 3 deletions

View File

@ -1246,9 +1246,6 @@ static void cyttsp4_watchdog_timer(unsigned long handle)
dev_vdbg(cd->dev, "%s: Watchdog timer triggered\n", __func__); dev_vdbg(cd->dev, "%s: Watchdog timer triggered\n", __func__);
if (!cd)
return;
if (!work_pending(&cd->watchdog_work)) if (!work_pending(&cd->watchdog_work))
schedule_work(&cd->watchdog_work); schedule_work(&cd->watchdog_work);