浏览代码

GFS2: Remove unused variable

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Steven Whitehouse 16 年之前
父节点
当前提交
e09f9446b9
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/gfs2/file.c

+ 0 - 2
fs/gfs2/file.c

@@ -694,8 +694,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);
-
 	if (!(fl->fl_flags & FL_FLOCK))
 		return -ENOLCK;
 	if (fl->fl_type & LOCK_MAND)