Переглянути джерело

[GFS2] Remove unused variable

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Steven Whitehouse 17 роки тому
батько
коміт
dbee2199c3
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      fs/gfs2/ops_file.c

+ 0 - 1
fs/gfs2/ops_file.c

@@ -700,7 +700,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);
-	struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
 
 	if (!(fl->fl_flags & FL_FLOCK))
 		return -ENOLCK;