Subject: [PATCH] atalk: remove gcc warning when PROC_FS=n

From: "Randy.Dunlap" <[email-masked]>
Date: Tue, 25 Jan 2005 22:21:26 -0800

appletalk: Fix gcc warning.

with CONFIG_PROC_FS=n, gcc complains:
net/appletalk/ddp.c:1893: warning: statement with no effect

Signed-off-by: Randy Dunlap <[email-masked]>

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 */