Remove unused function pointer in glock_operations
Hi,
This code is entirely unused, so this patch removes it.
Steve.
fs/gfs2/glock.c +0 -2
@@ -1641,8 +1641,6 @@ static void blocking_cb(struct gfs2_sbdif (!gl)return ; -if (gl->gl_ops->go_callback) - gl->gl_ops->go_callback (gl, state);handle_callback (gl, state);spin_lock (&gl->gl_spin);
fs/gfs2/incore.h +0 -1
@@ -110,7 +110,6 @@ struct gfs2_glock_operations {int (*go_demote_ok) (struct gfs2_glock *gl);int (*go_lock) (struct gfs2_holder *gh);void (*go_unlock) (struct gfs2_holder *gh); -void (*go_callback) (struct gfs2_glock *gl,unsigned int state);void (*go_greedy) (struct gfs2_glock *gl);const int go_type; };