From: Dmitry Torokhov Date: Sun, 4 Mar 2012 17:26:15 +0000 (-0800) Subject: Input: cyttsp - remove useless checks in cyttsp_probe() X-Git-Tag: v3.4-rc1~130^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaa60fa7ac66ede814f7ad37a2b3a07b4f784756;p=pandora-kernel.git Input: cyttsp - remove useless checks in cyttsp_probe() This fixes reference-before-check problem; there is no reason to check if caller passed NULL dev or bus_ops as it is done only by bus-specific drivers which already do the right thing. Reported-by: Dan Carpenter Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed