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

Commit 80e3e532 authored by Sachin Kamat's avatar Sachin Kamat Committed by Dmitry Torokhov
Browse files

Input: eeti_ts - remove redundant null check



'pdata' is already dereferenced earlier. Hence this check is
meaningless.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 8efcc503
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -206,7 +206,6 @@ static int eeti_ts_probe(struct i2c_client *client,
	if (err < 0)
		goto err1;

	if (pdata)
	priv->irq_active_high = pdata->irq_active_high;

	irq_flags = priv->irq_active_high ?