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

[GFS2] Remove unused variable

Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 292c8c14
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册