rt2x00: checkpatch.pl error fixes for rt2x00link.c
authorMark Einon <mark.einon@gmail.com>
Sat, 6 Nov 2010 14:47:09 +0000 (15:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:28 +0000 (13:26 -0500)
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>
drivers/net/wireless/rt2x00/rt2x00link.c

index b971d87..bfda60e 100644 (file)
@@ -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; \