From: Dmitry Torokhov Date: Sat, 25 Oct 2014 00:20:27 +0000 (-0700) Subject: Input: psmouse - remove unneeded check in psmouse_reconnect() X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~19^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=185af4d6668e4805d18d1bdf21dfec89d680fee3;p=pandora-kernel.git Input: psmouse - remove unneeded check in psmouse_reconnect() psmouse_reconnect() will not be called if psmouse driver is not bound to the serio port, so there is no point in checking that. Also, as coded, it introduces potential NULL dereference in psmouse_dbg() in case psmouse is indeed NULL. Let's just remove it. Detected by Coverity: CID 146528 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed