Subject: [PATCH] arlan: remove gcc warning with CONFIG_PROC_FS=n

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

arlan: Fix gcc warning.

With CONFIG_PROC_FS=n, gcc complains:
drivers/net/wireless/arlan-main.c:1858: warning: statement with no effect

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

diffstat:=
  drivers/net/wireless/arlan.h |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)

arlan: Fix gcc warning.

With CONFIG_PROC_FS=n, gcc complains:
drivers/net/wireless/arlan-main.c:1858: warning: statement with no effect

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

diffstat:=
 drivers/net/wireless/arlan.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/net/wireless/arlan.h~arlan_procfs ./drivers/net/wireless/arlan.h
--- ./drivers/net/wireless/arlan.h~arlan_procfs	2005-01-24 13:00:20.000000000 -0800
+++ ./drivers/net/wireless/arlan.h	2005-01-25 21:09:01.963641016 -0800
@@ -43,7 +43,7 @@
 extern int init_arlan_proc(void);
 extern void cleanup_arlan_proc(void);
 #else
-#define init_arlan_proc()	(0)
+#define init_arlan_proc()	({ 0; })
 #define cleanup_arlan_proc()	do { } while (0);
 #endif