commit | 185af4d6668e4805d18d1bdf21dfec89d680fee3 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Oct 24 17:20:27 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Oct 28 11:42:56 2014 -0700 |
tree | 48b74b3bf021e6ef362d24b4b485aeda43a95b2f | |
parent | 4db1f47c29bd19e2069fb877620540db2a51a572 [diff] |
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>