netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: netdev@vger.kernel.org
Subject: Re: [RFC] cifs: drop unused table
Date: Thu, 20 Dec 2018 15:42:41 -0800	[thread overview]
Message-ID: <20181220154241.2cf6cc85@xeon-e3> (raw)
In-Reply-To: <20181220233939.29365-1-sthemmin@microsoft.com>

On Thu, 20 Dec 2018 15:39:39 -0800
Stephen Hemminger <stephen@networkplumber.org> wrote:

> From: Stephen Hemminger <stephen@networkplumber.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@networkplumber.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

      reply	other threads:[~2018-12-20 23:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-20 23:39 [RFC] cifs: drop unused table Stephen Hemminger
2018-12-20 23:42 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181220154241.2cf6cc85@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).