Merge branch 'next' into for-linus
[linux-2.6-block.git] / drivers / input / evdev.c
index cfe78597eb68d7be98472f7d86f2661d60e3f8d7..4b2e10d5d641a9d90f41afdf43f6fb6ed64c5987 100644 (file)
@@ -341,7 +341,7 @@ static ssize_t evdev_write(struct file *file, const char __user *buffer,
        struct evdev_client *client = file->private_data;
        struct evdev *evdev = client->evdev;
        struct input_event event;
-       int retval;
+       int retval = 0;
 
        if (count < input_event_size())
                return -EINVAL;