]> 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)
commit30aab7581eddb0d17b032332b688dd9b02a659ae
tree953f464b4d9b2fa6546435645e8d1bcb70dbe42d
parenta73e6ef0ff313da96d06e231e8fcaf8e87ccba74
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