Re: [PATCH] input: synaptics-rmi4: check for non zero version logically dead code

2017-01-02 Thread Benjamin Tissoires
On Dec 20 2016 or thereabouts, Colin King wrote: > From: Colin Ian King > > version is a u8, the check for version > 0 means that version can only > be zero, so the subsequent check for version != 0 is never true and > hence is redudant code and can be removed. > > Signed-off-by: Colin Ian King

[PATCH] input: synaptics-rmi4: check for non zero version logically dead code

2016-12-20 Thread Colin King
From: Colin Ian King version is a u8, the check for version > 0 means that version can only be zero, so the subsequent check for version != 0 is never true and hence is redudant code and can be removed. Signed-off-by: Colin Ian King --- drivers/input/rmi4/rmi_f34.c | 2 -- 1 file changed, 2 de