X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Finput%2Fevdev.c;h=7a7a026ba71211b205cefd2f4590c1e7c5da20e2;hb=ca1ee219c070eab755712d50638bbcd1f8630fc1;hp=ed8baa0aec3cce31023a2e97557db22ab5a7f7c6;hpb=31aeb6c815549948571eec988ad9728c27d7a68d;p=mv-sheeva.git diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index ed8baa0aec3..7a7a026ba71 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c @@ -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)