]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/mousedev.c
Extra omap code in linux-omap tree
[linux-2.6-omap-h63xx.git] / drivers / input / mousedev.c
index ef99a7e6d40cb8741a18a796048ea78a32d2cc3b..17fd6d46d082eafe8e124a6f78de65cc53e17c73 100644 (file)
@@ -403,12 +403,9 @@ static void mousedev_event(struct input_handle *handle,
 
 static int mousedev_fasync(int fd, struct file *file, int on)
 {
-       int retval;
        struct mousedev_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 mousedev_free(struct device *dev)