[GFS2] Patch to remove stats counters from GFS2 (II)
[sfrench/cifs-2.6.git] / fs / gfs2 / ops_dentry.c
index fb8f70d225b91d3e3733c2217b9a06dd5b953374..b020ad8f180b95c64917f96b4fee5040dd6aa348 100644 (file)
@@ -35,7 +35,6 @@ static int gfs2_drevalidate(struct dentry *dentry, struct nameidata *nd)
 {
        struct dentry *parent = dget_parent(dentry);
        struct gfs2_inode *dip = get_v2ip(parent->d_inode);
-       struct gfs2_sbd *sdp = dip->i_sbd;
        struct inode *inode;
        struct gfs2_holder d_gh;
        struct gfs2_inode *ip;