]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ieee1394/dv1394.c
Rationalize fasync return values
[linux-2.6-omap-h63xx.git] / drivers / ieee1394 / dv1394.c
index 3838bc4acabac07b01b2c7b2488d07d825aa28ae..cb15bfa38d70b5a51b258f30d35de05ce424c5cd 100644 (file)
@@ -1325,11 +1325,7 @@ static int dv1394_fasync(int fd, struct file *file, int on)
 
        struct video_card *video = file_to_video_card(file);
 
-       int retval = fasync_helper(fd, file, on, &video->fasync);
-
-       if (retval < 0)
-               return retval;
-        return 0;
+       return fasync_helper(fd, file, on, &video->fasync);
 }
 
 static ssize_t dv1394_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)