[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181220154241.2cf6cc85@xeon-e3>
Date: Thu, 20 Dec 2018 15:42:41 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Subject: Re: [RFC] cifs: drop unused table
On Thu, 20 Dec 2018 15:39:39 -0800
Stephen Hemminger <stephen@...workplumber.org> wrote:
> From: Stephen Hemminger <stephen@...workplumber.org>
>
> 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 <stephen@...workplumber.org>
> ---
> 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
Powered by blists - more mailing lists