From: Andreas Gruenbacher Date: Mon, 18 Mar 2024 21:22:32 +0000 (+0100) Subject: gfs2: Remove unnecessary function prototype X-Git-Tag: v6.11-rc1~158^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b8520c00711556d62a9261eec9acfac94ecc9b;p=thirdparty%2Fkernel%2Flinux.git gfs2: Remove unnecessary function prototype Function __gfs2_glock_dq() gets defined before it is used, so there is no need for a separate function declaration. Signed-off-by: Andreas Gruenbacher --- diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 4ea6c8bfb4e6c..873d766702384 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -61,7 +61,6 @@ struct gfs2_glock_iter { typedef void (*glock_examiner) (struct gfs2_glock * gl); static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); -static void __gfs2_glock_dq(struct gfs2_holder *gh); static void handle_callback(struct gfs2_glock *gl, unsigned int state, unsigned long delay, bool remote);