提交 e09f9446 编写于 作者: S Steven Whitehouse

GFS2: Remove unused variable

Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 a12af1eb
...@@ -694,8 +694,6 @@ static void do_unflock(struct file *file, struct file_lock *fl) ...@@ -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) 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)) if (!(fl->fl_flags & FL_FLOCK))
return -ENOLCK; return -ENOLCK;
if (fl->fl_type & LOCK_MAND) if (fl->fl_type & LOCK_MAND)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册