commit | e09f9446b94ac64b27d37e98c1110f29d712cdad | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Jun 03 10:07:44 2009 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Wed Jun 03 10:07:44 2009 +0100 |
tree | ed5877fa59b61ccce7fa4b6d53b327f43453408f | |
parent | a12af1ebe675e85831fde3c4d0908fc3b0908b7a [diff] |
GFS2: Remove unused variable Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 841ddc9..73318a3 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c
@@ -694,8 +694,6 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) { - struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); - if (!(fl->fl_flags & FL_FLOCK)) return -ENOLCK; if (fl->fl_type & LOCK_MAND)