From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitaliy Gusev Subject: [PATCH] hypfs: remove useless variable qname Date: Mon, 15 Jun 2009 13:58:02 +0400 Message-ID: <200906151358.02723.vgusev@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Michael Holzheu , linux-fsdevel@vger.kernel.org To: Andrew Morton Return-path: Received: from mailhub.sw.ru ([195.214.232.25]:39748 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbZFOJ6G (ORCPT ); Mon, 15 Jun 2009 05:58:06 -0400 Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Local variable 'qname' in the function hypfs_create_file() really is not used for any purpose. Signed-off-by: Vitaliy Gusev --- diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 5a805df..e760b5b 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -355,11 +355,7 @@ static struct dentry *hypfs_create_file(struct super_block *sb, { struct dentry *dentry; struct inode *inode; - struct qstr qname; - qname.name = name; - qname.len = strlen(name); - qname.hash = full_name_hash(name, qname.len); mutex_lock(&parent->d_inode->i_mutex); dentry = lookup_one_len(name, parent, strlen(name)); if (IS_ERR(dentry)) {