Re: [patch 2/3] Input: cyttsp4 - silence NULL dereference warning

2013-07-03 Thread Ferruh Yigit
On 07/03/2013 12:41 AM, Dan Carpenter wrote: If "cd" were NULL then we would dereference it when we print the error message. Fortunately enough, it can't ever be NULL so we can remove those lines. Signed-off-by: Dan Carpenter diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/in

[patch 2/3] Input: cyttsp4 - silence NULL dereference warning

2013-07-02 Thread Dan Carpenter
If "cd" were NULL then we would dereference it when we print the error message. Fortunately enough, it can't ever be NULL so we can remove those lines. Signed-off-by: Dan Carpenter diff --git a/drivers/input/touchscreen/cyttsp4_core.c b/drivers/input/touchscreen/cyttsp4_core.c index 7aa4a34..8