Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbee2199 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] Remove unused variable

parent 292c8c14
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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)
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_inode *ip = GFS2_I(file->f_mapping->host);
	struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);


	if (!(fl->fl_flags & FL_FLOCK))
	if (!(fl->fl_flags & FL_FLOCK))
		return -ENOLCK;
		return -ENOLCK;