Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4479764ybx; Mon, 4 Nov 2019 14:07:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwJ8sXcMyUJTqiZTvUlarly7I2t8RPGtLwy6UcsV3HftegetqaDJv84wO20kngECheQXPkk X-Received: by 2002:a50:fc0a:: with SMTP id i10mr31763536edr.94.1572905240421; Mon, 04 Nov 2019 14:07:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572905240; cv=none; d=google.com; s=arc-20160816; b=CDCiyZJ5hKFuVuZGQA796SXH2m0Qe2muOnutgR7ZnFyOLB5llzjvXQwPb0G2zXuVAA 9PrsWRYaGKPFuN7jgUOtHWPOdupX9H5nIqFi1N0utCMFQlanCZAPSsVo6BsCIEnblLB5 8Wbk284ouFSD30bjJu34DOqh8Te/rk6yCnOutcp852Zi9OgaibJ/taulrteHSSZ5oURy fY2bujoFw7m8eY7mWEH6nyGCqJ8taJKeJ0N9/5PieSEvgPLbJ4wn10DvqsJrJbLEhII0 dkp3C8KQOSWGGHXS9O0uO5OZ8sKL3Rj3GMLR2QTIrj8uisjo9OgUrunapUETan+QTxk8 jEBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cpakcYEX7s4076d1YVyYPn0y0SUS+u+Nf39CP7T7tHQ=; b=ePlyDlycjR6Jn8tXbS37JhtXBn6nZhOtZE8KA2GMve1fmL3EllEB+m1BSKSbfqRlwg KqFDA8z0wWrdM/aVm0pX0uOlxNP1PIfFcGyvoD++7856Jl16iIA7R7cU0po4YmaY1Uqt XcqIFX26B2MdIAzBkMiSHe3gAlTxSWwnx0r3ZXiho+kA6uPnkGPD0rwxmophjvFhih/n I1EosZAFe9xm2YLLbbLUGZJh4D2nFA3GySfOq8hwlm6zfmY7FlxJpqak3jHscQwUVtV8 QEAFxrc9uNj8bsBEgQv0WHGz13ZawbReUNJlHEji7+ih/a9EWf7ZhqwEW52VK2J+S1qi liOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xqg/t9PI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si8131054eda.375.2019.11.04.14.06.56; Mon, 04 Nov 2019 14:07:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xqg/t9PI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389891AbfKDWF7 (ORCPT + 99 others); Mon, 4 Nov 2019 17:05:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:37360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388887AbfKDWFt (ORCPT ); Mon, 4 Nov 2019 17:05:49 -0500 Received: from localhost (6.204-14-84.ripe.coltfrance.com [84.14.204.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8EBFE20650; Mon, 4 Nov 2019 22:05:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572905149; bh=pvimibEjAyXqsfHKR7k5YuuvTWdfplcgN9pW/WPSVwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xqg/t9PI2wo27kvEA9XNh6C6F266w9U3FDZRBQT18+pipLvJqkaG6dd9PwNNd0PR7 x6u0+C283dBTKMYwVIsxiE9W9RFYEerudAZWTm9p72BiZk+V3Ruusml9kaHFu4Xwhv 1P95voIpliRw599PVkgx6aOk6jab4APF81l96/xI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Austin Kim , Steve French , Sasha Levin Subject: [PATCH 5.3 044/163] fs: cifs: mute -Wunused-const-variable message Date: Mon, 4 Nov 2019 22:43:54 +0100 Message-Id: <20191104212143.434057464@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191104212140.046021995@linuxfoundation.org> References: <20191104212140.046021995@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Austin Kim [ Upstream commit dd19c106a36690b47bb1acc68372f2b472b495b8 ] After 'Initial git repository build' commit, 'mapping_table_ERRHRD' variable has not been used. So 'mapping_table_ERRHRD' const variable could be removed to mute below warning message: fs/cifs/netmisc.c:120:40: warning: unused variable 'mapping_table_ERRHRD' [-Wunused-const-variable] static const struct smb_to_posix_error mapping_table_ERRHRD[] = { ^ Signed-off-by: Austin Kim Signed-off-by: Steve French Signed-off-by: Sasha Levin --- fs/cifs/netmisc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c index ed92958e842d3..657f409d4de06 100644 --- a/fs/cifs/netmisc.c +++ b/fs/cifs/netmisc.c @@ -117,10 +117,6 @@ static const struct smb_to_posix_error mapping_table_ERRSRV[] = { {0, 0} }; -static const struct smb_to_posix_error mapping_table_ERRHRD[] = { - {0, 0} -}; - /* * Convert a string containing text IPv4 or IPv6 address to binary form. * -- 2.20.1