mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
Input: MT - fix null pointer warning
Fixes the following sparse warning: drivers/input/input-mt.c:138:40: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
This commit is contained in:
parent
f8f5701bda
commit
27c347d64f
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ EXPORT_SYMBOL(input_mt_report_finger_count);
|
||||||
*/
|
*/
|
||||||
void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count)
|
void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count)
|
||||||
{
|
{
|
||||||
struct input_mt_slot *oldest = 0;
|
struct input_mt_slot *oldest = NULL;
|
||||||
int oldid = dev->trkid;
|
int oldid = dev->trkid;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue