From: Steven Whitehouse Date: Fri, 30 Nov 2007 08:17:15 +0000 (+0000) Subject: [GFS2] Remove unused variable X-Git-Tag: v2.6.25-rc1~1241^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dbee2199c37336e89060fbe9abdfd1ca8454372a;p=linux-2.6-omap-h63xx.git [GFS2] Remove unused variable Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index db76ac1947e..2569c13eb10 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c @@ -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;