]> git.baikalelectronics.ru Git - kernel.git/commit
Input: mma8450 - silence some 'uninitialized variable' warnings
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 6 Oct 2011 22:26:50 +0000 (15:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 7 Oct 2011 02:41:57 +0000 (19:41 -0700)
commitef5becc5a6da12d3ef9adedef975e41323de7db9
tree953f464b4d9b2fa6546435645e8d1bcb70dbe42d
parent1649637766149cdaa04540410cd6c57403014518
Input: mma8450 - silence some 'uninitialized variable' warnings

Sometimes GCC is not smart enough to recognize that x, y and z are
always used properly initialized in mma8450_poll(). Let's rearrange
the code a bit to help GCC.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/mma8450.c