]> git.karo-electronics.de Git - linux-beck.git/commitdiff
GFS2: Remove unused variable
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 3 Jun 2009 09:07:44 +0000 (10:07 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 3 Jun 2009 09:07:44 +0000 (10:07 +0100)
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c

index 841ddc979388148eb0536f0152d08323f11a3e75..73318a3ce6f1b1651f7fdaeb2ec985c45e7f76e0 100644 (file)
@@ -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)