]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gfs2: Remove unnecessary function prototype
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 18 Mar 2024 21:22:32 +0000 (22:22 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 28 May 2024 14:59:53 +0000 (16:59 +0200)
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 <agruenba@redhat.com>
fs/gfs2/glock.c

index 4ea6c8bfb4e6c536d17e7b4a1d28535fe9cff009..873d7667023846ea674643df92d9d9fdca8dfe66 100644 (file)
@@ -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);