| To: | acme@xxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev <netdev@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] atalk: remove gcc warning when PROC_FS=n |
| From: | "Randy.Dunlap" <rddunlap@xxxxxxxx> |
| Date: | Tue, 25 Jan 2005 22:21:26 -0800 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 0.9 (X11/20041103) |
with CONFIG_PROC_FS=n, gcc complains: net/appletalk/ddp.c:1893: warning: statement with no effect Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx> diffstat:= include/linux/atalk.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./include/linux/atalk.h~atalk_procfs ./include/linux/atalk.h
--- ./include/linux/atalk.h~atalk_procfs 2005-01-24 13:00:23.000000000
-0800
+++ ./include/linux/atalk.h 2005-01-25 19:43:22.647935760 -0800
@@ -229,7 +229,7 @@ extern void atalk_unregister_sysctl(void
extern int atalk_proc_init(void);
extern void atalk_proc_exit(void);
#else
-#define atalk_proc_init() 0
+#define atalk_proc_init() ({ 0; })
#define atalk_proc_exit() do { } while(0)
#endif /* CONFIG_PROC_FS */
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Tcp port selection for IPV6., David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH]: was Re: LLTX and netif_stop_queue, David S. Miller |
| Previous by Thread: | [PATCH 29/34] net/shaper: replace sleep_on() with wait_event(), Nishanth Aravamudan |
| Next by Thread: | Re: [PATCH] atalk: remove gcc warning when PROC_FS=n, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |