ath5k: remove unneeded parentheses after return
authorPavel Roskin <proski@gnu.org>
Thu, 7 Jul 2011 22:13:30 +0000 (18:13 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:44:29 +0000 (11:44 -0400)
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/pcu.c

index 79e11ff40fc3cabf982aea5bf21d9c7332aa481c..48bd2ded449e5899dad343f495100d8729d6ec5f 100644 (file)
@@ -780,7 +780,7 @@ extern int ath5k_modparam_nohwcrypt;
 
 #define AR5K_ASSERT_ENTRY(_e, _s) do {         \
        if (_e >= _s)                           \
-               return (false);                 \
+               return false;                   \
 } while (0)
 
 /*
index 712a9ac4000e47d313ad9b29296bb5c940cc98ff..0a0f63e9675bd28825b7be4462d20001a3f5fc33 100644 (file)
@@ -536,7 +536,7 @@ u64 ath5k_hw_get_tsf64(struct ath5k_hw *ah)
 
        WARN_ON( i == ATH5K_MAX_TSF_READ );
 
-       return (((u64)tsf_upper1 << 32) | tsf_lower);
+       return ((u64)tsf_upper1 << 32) | tsf_lower;
 }
 
 /**