summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00link.c
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2010-11-06 15:47:09 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 19:26:28 +0100
commit027e8fd105c82956de9dec232bad21b1628ee7c0 (patch)
tree5e7dafd739717dc2735934c4e8b7b90fb7a32bd8 /drivers/net/wireless/rt2x00/rt2x00link.c
parentrt2x00: checkpatch.pl error fixes for rt2x00lib.h (diff)
downloadlinux-027e8fd105c82956de9dec232bad21b1628ee7c0.tar.xz
linux-027e8fd105c82956de9dec232bad21b1628ee7c0.zip
rt2x00: checkpatch.pl error fixes for rt2x00link.c
rt2x00link.c:70: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00link.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00link.c b/drivers/net/wireless/rt2x00/rt2x00link.c
index b971d8798ebf..bfda60eaf4ef 100644
--- a/drivers/net/wireless/rt2x00/rt2x00link.c
+++ b/drivers/net/wireless/rt2x00/rt2x00link.c
@@ -67,7 +67,7 @@
(__avg).avg_weight ? \
((((__avg).avg_weight * ((AVG_SAMPLES) - 1)) + \
((__val) * (AVG_FACTOR))) / \
- (AVG_SAMPLES) ) : \
+ (AVG_SAMPLES)) : \
((__val) * (AVG_FACTOR)); \
__new.avg = __new.avg_weight / (AVG_FACTOR); \
__new; \