From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [RFC] cifs: drop unused table Date: Thu, 20 Dec 2018 15:42:41 -0800 Message-ID: <20181220154241.2cf6cc85@xeon-e3> References: <20181220233939.29365-1-sthemmin@microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org Return-path: Received: from mail-pl1-f193.google.com ([209.85.214.193]:43734 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729693AbeLTXmr (ORCPT ); Thu, 20 Dec 2018 18:42:47 -0500 Received: by mail-pl1-f193.google.com with SMTP id gn14so1585601plb.10 for ; Thu, 20 Dec 2018 15:42:47 -0800 (PST) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id j21sm30126715pfn.175.2018.12.20.15.42.46 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Dec 2018 15:42:46 -0800 (PST) In-Reply-To: <20181220233939.29365-1-sthemmin@microsoft.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 20 Dec 2018 15:39:39 -0800 Stephen Hemminger wrote: > From: Stephen Hemminger > > This mapping table is not used anywhere in current code and > causes warning if kernel is built with W=1 > > Signed-off-by: Stephen Hemminger > --- > fs/cifs/netmisc.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c > index fdd908e4a26b..66c10121a6ea 100644 > --- a/fs/cifs/netmisc.c > +++ b/fs/cifs/netmisc.c > @@ -130,10 +130,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. > * Sorry my script grabbed the wrong mailing list, ignore this