Skip to content

Commit

Permalink
fanotify: do not return 0 in a void function
Browse files Browse the repository at this point in the history
remove_access_response() is supposed to have a void return, but was
returning 0;

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Eric Paris <[email protected]>
  • Loading branch information
eparis committed Jul 28, 2010
1 parent b2d8790 commit 8860f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/notify/fanotify/fanotify_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static void remove_access_response(struct fsnotify_group *group,
struct fsnotify_event *event,
__s32 fd)
{
return 0;
return;
}
#endif

Expand Down

0 comments on commit 8860f06

Please sign in to comment.