summaryrefslogtreecommitdiff
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2014-10-25 00:20:27 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-10-28 18:42:56 (GMT)
commit185af4d6668e4805d18d1bdf21dfec89d680fee3 (patch)
tree48b74b3bf021e6ef362d24b4b485aeda43a95b2f /drivers/input/misc
parent4db1f47c29bd19e2069fb877620540db2a51a572 (diff)
downloadlinux-185af4d6668e4805d18d1bdf21dfec89d680fee3.tar.xz
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 <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions