From 99b8520c00711556d62a9261eec9acfac94ecc9b Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Mon, 18 Mar 2024 22:22:32 +0100 Subject: [PATCH] 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 --- fs/gfs2/glock.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.47.2