X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Finput%2Fjoydev.c;h=4224f0112849cb8b7b48935c96060502d01a2a7d;hb=c4dec3962d6bff26010fcfc61500c1241469a6e0;hp=6f2366220a50bd9c415f0b6986ded77bd309ffe0;hpb=c0106d72b8d71696dbe9dc80e2c77d4ac63f7531;p=linux-2.6-omap-h63xx.git diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index 6f2366220a5..4224f011284 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c @@ -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)