[rt2x00-users] [PATCH] rt2x00: Style fix for interval defines
Ivo van Doorn
ivdoorn at gmail.com
Wed Apr 29 15:00:23 CDT 2009
From: Alban Browaeys <prahal at yahoo.com>
Extra parenthesis are not needed in these 2 cases,
all other defines in rt2x00 are done without parenthesis
so just fixup these 2 cases.
Signed-off-by: Alban Browaeys <prahal at yahoo.com>
Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
---
This replaces the "rt2x00: Fix the interval for rfkill and link_tuner."
patch which was send recently. Code is the same, only changelog &
subject have been changed.
---
drivers/net/wireless/rt2x00/rt2x00lib.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index aa284e4..747178c 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -32,8 +32,8 @@
* Interval defines
* Both the link tuner as the rfkill will be called once per second.
*/
-#define LINK_TUNE_INTERVAL ( round_jiffies_relative(HZ) )
-#define RFKILL_POLL_INTERVAL ( 1000 )
+#define LINK_TUNE_INTERVAL round_jiffies_relative(HZ)
+#define RFKILL_POLL_INTERVAL 1000
/*
* rt2x00_rate: Per rate device information
--
1.6.2.3
More information about the users
mailing list