diff options
author | Aniroop Mathur <aniroop.mathur@gmail.com> | 2014-12-02 15:22:28 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-02 21:34:49 -0800 |
commit | 9c7d66fa9bb21ef89c6acdd0cf536eb84e760d8b (patch) | |
tree | b98a6234464d403c1451f2b4ea94472b6e0970ad /drivers/input/joystick | |
parent | 8195077c4a93486f715edac3e9f1503df7dec60a (diff) |
Input: initialize input_no to -1 to avoid subtraction
Let's initializes input_no to -1 in order to avoid extra subtraction
operation performed every time we allocate an input device.
Signed-off-by: Aniroop Mathur <aniroop.mathur@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/joystick')
0 files changed, 0 insertions, 0 deletions