Merge commit 'origin/master' into next
[sfrench/cifs-2.6.git] / drivers / input / joydev.c
index 6f2366220a50bd9c415f0b6986ded77bd309ffe0..4224f0112849cb8b7b48935c96060502d01a2a7d 100644 (file)
@@ -159,12 +159,9 @@ static void joydev_event(struct input_handle *handle,
 
 static int joydev_fasync(int fd, struct file *file, int on)
 {
-       int retval;
        struct joydev_client *client = file->private_data;
 
-       retval = fasync_helper(fd, file, on, &client->fasync);
-
-       return retval < 0 ? retval : 0;
+       return fasync_helper(fd, file, on, &client->fasync);
 }
 
 static void joydev_free(struct device *dev)