Commit e09f9446 authored by Steven Whitehouse's avatar Steven Whitehouse

GFS2: Remove unused variable

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment