From: Eric Paris Date: Wed, 23 Dec 2009 05:10:25 +0000 (-0500) Subject: fanotify: do not return 0 in a void function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8860f060e473dce1a0873d92105d536f72b05908;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Eric Paris --- diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c index 87f0be852f71..7c869fa23ec6 100644 --- a/fs/notify/fanotify/fanotify_user.c +++ b/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