Browse Source

fanotify: do not return 0 in a void function

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>
Eric Paris 15 years ago
parent
commit
8860f060e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/notify/fanotify/fanotify_user.c

+ 1 - 1
fs/notify/fanotify/fanotify_user.c

@@ -231,7 +231,7 @@ static void remove_access_response(struct fsnotify_group *group,
 				   struct fsnotify_event *event,
 				   __s32 fd)
 {
-	return 0;
+	return;
 }
 #endif