]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[GFS2] Remove unused variable
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 30 Nov 2007 08:17:15 +0000 (08:17 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:08:20 +0000 (08:08 +0000)
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c

index db76ac1947e7dea0e8e570c885accc8184f562b0..2569c13eb108fb6fd6cb8d107626a338aa5e5058 100644 (file)
@@ -700,7 +700,6 @@ static void do_unflock(struct file *file, struct file_lock *fl)
 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
 {
        struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
-       struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
 
        if (!(fl->fl_flags & FL_FLOCK))
                return -ENOLCK;