LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: James Chapman <jchapman@katalix.com>
To: Rami Rosen <ramirose@gmail.com>
Cc: netdev@vger.kernel.org, jeff@garzik.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [PPPOL2TP] Label unused warning when CONFIG_PROC_FS is not set.
Date: Tue, 05 Feb 2008 17:38:10 +0000	[thread overview]
Message-ID: <47A89F02.8010403@katalix.com> (raw)
In-Reply-To: <eb3ff54b0802050415h3c4672b1r7048143b599303dd@mail.gmail.com>

Acked-by: James Chapman <jchapman@katalix.com>

Rami Rosen wrote:
> Hi,
> 
> When CONFIG_PROC_FS is not set and CONFIG_PPPOL2TP is set,
> we have the following warning in build:
>   drivers/net/pppol2tp.c: In function 'pppol2tp_init':
>   drivers/net/pppol2tp.c:2472: warning: label
> 'out_unregister_pppox_proto' defined but not used
> 
> This patches fixes this warning by adding appropriate #ifdef.
> 
> Regards,
> Rami Rosen
> 
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
> 


-- 
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development


  reply	other threads:[~2008-02-05 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05 12:15 Rami Rosen
2008-02-05 17:38 ` James Chapman [this message]
2008-02-06  0:31   ` David Miller
2008-02-05 18:22 ` Jeff Garzik
2008-02-06  0:32   ` David Miller

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=47A89F02.8010403@katalix.com \
    --to=jchapman@katalix.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ramirose@gmail.com \
    --subject='Re: [PATCH] [PPPOL2TP] Label unused warning when CONFIG_PROC_FS is not set.' \
    /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

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).