]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[GFS2] Remove unused go_callback operation
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 19 Jan 2007 18:57:36 +0000 (13:57 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:37:17 +0000 (13:37 -0500)
This is never used, so we might as well remove it.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h

index 90847e0957bbb8e2d9bc5642af5108dbc31e4bdc..8e4b55a2bd773dc1c59175697501ee52166f9ac3 100644 (file)
@@ -1568,8 +1568,6 @@ static void blocking_cb(struct gfs2_sbd *sdp, struct lm_lockname *name,
        if (!gl)
                return;
 
-       if (gl->gl_ops->go_callback)
-               gl->gl_ops->go_callback(gl, state);
        handle_callback(gl, state);
 
        spin_lock(&gl->gl_spin);
index dc024b18ea9649016ce22e90e24748a24303e1a5..1acbcc2415ee94522d2037224b1e8dba4861c04f 100644 (file)
@@ -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);
        const int go_type;
 };