Commit e09f9446b94ac64b27d37e98c1110f29d712cdad

Authored by Steven Whitehouse
1 parent a12af1ebe6

GFS2: Remove unused variable

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

... ... @@ -694,8 +694,6 @@
694 694  
695 695 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
696 696 {
697   - struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
698   -
699 697 if (!(fl->fl_flags & FL_FLOCK))
700 698 return -ENOLCK;
701 699 if (fl->fl_type & LOCK_MAND)