From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [RFC] cifs: drop unused table Date: Thu, 20 Dec 2018 15:39:39 -0800 Message-ID: <20181220233939.29365-1-sthemmin@microsoft.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-pf1-f194.google.com ([209.85.210.194]:35606 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728996AbeLTXjo (ORCPT ); Thu, 20 Dec 2018 18:39:44 -0500 Received: by mail-pf1-f194.google.com with SMTP id z9so1655120pfi.2 for ; Thu, 20 Dec 2018 15:39:44 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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. * -- 2.19.2