diff options
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r-- | drivers/input/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index cfe78597eb68..4b2e10d5d641 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -341,7 +341,7 @@ static ssize_t evdev_write(struct file *file, const char __user *buffer, | |||
341 | struct evdev_client *client = file->private_data; | 341 | struct evdev_client *client = file->private_data; |
342 | struct evdev *evdev = client->evdev; | 342 | struct evdev *evdev = client->evdev; |
343 | struct input_event event; | 343 | struct input_event event; |
344 | int retval; | 344 | int retval = 0; |
345 | 345 | ||
346 | if (count < input_event_size()) | 346 | if (count < input_event_size()) |
347 | return -EINVAL; | 347 | return -EINVAL; |