From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:34265 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933317AbeGHVFo (ORCPT ); Sun, 8 Jul 2018 17:05:44 -0400 From: Eric Biggers To: David Howells , Alexander Viro , linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eric Biggers Subject: [PATCH 13/18] fsmount: removed unused variable 'inode' Date: Sun, 8 Jul 2018 14:01:49 -0700 Message-Id: <20180708210154.10423-14-ebiggers3@gmail.com> In-Reply-To: <20180708210154.10423-1-ebiggers3@gmail.com> References: <20180708210154.10423-1-ebiggers3@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Eric Biggers Signed-off-by: Eric Biggers --- fs/namespace.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 7f0191bb5db46..0624af4806c4a 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -3230,7 +3230,6 @@ EXPORT_SYMBOL_GPL(kern_mount); SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags, unsigned int, ms_flags) { struct fs_context *fc; - struct inode *inode; struct file *file; struct path newmount; struct fd f; @@ -3289,7 +3288,6 @@ SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags, unsigned int, ms_flags goto err_fsfd; } - inode = file_inode(f.file); ret = mutex_lock_interruptible(&fc->uapi_mutex); if (ret < 0) goto err_fsfd; -- 2.18.0