diff options
-rw-r--r-- | drivers/input/touchscreen/cyttsp4_core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c index 7aa4a349a07e..851e3ff80437 100644 --- a/drivers/input/touchscreen/cyttsp4_core.c +++ b/drivers/input/touchscreen/cyttsp4_core.c | |||
@@ -1450,11 +1450,6 @@ static void cyttsp4_watchdog_work(struct work_struct *work) | |||
1450 | u8 *mode; | 1450 | u8 *mode; |
1451 | int retval; | 1451 | int retval; |
1452 | 1452 | ||
1453 | if (cd == NULL) { | ||
1454 | dev_err(cd->dev, "%s: NULL context pointer\n", __func__); | ||
1455 | return; | ||
1456 | } | ||
1457 | |||
1458 | mutex_lock(&cd->system_lock); | 1453 | mutex_lock(&cd->system_lock); |
1459 | retval = cyttsp4_load_status_regs(cd); | 1454 | retval = cyttsp4_load_status_regs(cd); |
1460 | if (retval < 0) { | 1455 | if (retval < 0) { |