netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [janitor] pppoe: remove unneeded ifdef/endif
@ 2004-02-23 21:42 Randy.Dunlap
  2004-02-23 23:16 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2004-02-23 21:42 UTC (permalink / raw)
  To: netdev; +Cc: davem


hi,
Please apply to 2.6.3-current.

--
~Randy


From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>


hi all,

this #ifdef/#endif is not needed:

diff -X dontdiff -Nru linux-2.6.2-rc2-bk2/drivers/net/pppoe.c linux-2.6.2-rc2-bk2~/drivers/net/pppoe.c


 linux-263-kj1-rddunlap/drivers/net/pppoe.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN drivers/net/pppoe.c~net_pppoe_rmproc drivers/net/pppoe.c
--- linux-263-kj1/drivers/net/pppoe.c~net_pppoe_rmproc	2004-02-18 14:45:57.000000000 -0800
+++ linux-263-kj1-rddunlap/drivers/net/pppoe.c	2004-02-18 14:45:57.000000000 -0800
@@ -1146,9 +1146,7 @@ static void __exit pppoe_exit(void)
 	dev_remove_pack(&pppoes_ptype);
 	dev_remove_pack(&pppoed_ptype);
 	unregister_netdevice_notifier(&pppoe_notifier);
-#ifdef CONFIG_PROC_FS
 	remove_proc_entry("pppoe", proc_net);
-#endif
 }
 
 module_init(pppoe_init);

_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [janitor] pppoe: remove unneeded ifdef/endif
  2004-02-23 21:42 [janitor] pppoe: remove unneeded ifdef/endif Randy.Dunlap
@ 2004-02-23 23:16 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-02-23 23:16 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev

On Mon, 23 Feb 2004 13:42:07 -0800
"Randy.Dunlap" <rddunlap@osdl.org> wrote:

> Please apply to 2.6.3-current.
 ...
> From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>
 ...
> diff -X dontdiff -Nru linux-2.6.2-rc2-bk2/drivers/net/pppoe.c linux-2.6.2-rc2-bk2~/drivers/net/pppoe.c

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-23 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 21:42 [janitor] pppoe: remove unneeded ifdef/endif Randy.Dunlap
2004-02-23 23:16 ` David S. Miller

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