fanotify: do not return 0 in a void function
authorEric Paris <eparis@redhat.com>
Wed, 23 Dec 2009 05:10:25 +0000 (00:10 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:59:02 +0000 (09:59 -0400)
remove_access_response() is supposed to have a void return, but was
returning 0;

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c

index 87f0be852f712b492eaca75ee6a18994d1bb6991..7c869fa23ec6a9349fd9fe2559b1f0b83e27bd5d 100644 (file)
@@ -231,7 +231,7 @@ static void remove_access_response(struct fsnotify_group *group,
                                   struct fsnotify_event *event,
                                   __s32 fd)
 {
-       return 0;
+       return;
 }
 #endif