]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/input/evdev.c
Merge git://git.infradead.org/iommu-2.6
[mv-sheeva.git] / drivers / input / evdev.c
index ed8baa0aec3cce31023a2e97557db22ab5a7f7c6..7a7a026ba71211b205cefd2f4590c1e7c5da20e2 100644 (file)
@@ -94,11 +94,8 @@ static void evdev_event(struct input_handle *handle,
 static int evdev_fasync(int fd, struct file *file, int on)
 {
        struct evdev_client *client = file->private_data;
-       int retval;
-
-       retval = fasync_helper(fd, file, on, &client->fasync);
 
-       return retval < 0 ? retval : 0;
+       return fasync_helper(fd, file, on, &client->fasync);
 }
 
 static int evdev_flush(struct file *file, fl_owner_t id)