Re: [PATCH] input: synaptics-rmi4: remove redundant null check on rmi_dev

2016-12-29 Thread Dmitry Torokhov
On Wed, Dec 21, 2016 at 02:41:04PM +, Colin King wrote: > From: Colin Ian King > > rmi_dev is currently being dereferenced before it null checked, > however, after deeper inspecting, rmi_dev can never be null, > so just remove this redundant check. Thanks to Dmitry Torokhov for > noticing tha

[PATCH] input: synaptics-rmi4: remove redundant null check on rmi_dev

2016-12-21 Thread Colin King
From: Colin Ian King rmi_dev is currently being dereferenced before it null checked, however, after deeper inspecting, rmi_dev can never be null, so just remove this redundant check. Thanks to Dmitry Torokhov for noticing that we can remove the null check. Fixes CoverityScan CID 1391218 ("Derefe