]> git.karo-electronics.de Git - linux-beck.git/commitdiff
/staging/vt6656: Delete extra paranthesis from macro definition
authorAndreea-Cristina Bernat <bernat.ada@gmail.com>
Wed, 12 Mar 2014 20:04:46 +0000 (22:04 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Fri, 14 Mar 2014 00:30:22 +0000 (17:30 -0700)
This patch solves the error of checkpatch.pl by deleting the extra paranthesis.

Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/vt6656/80211hdr.h

index 000304ffad6c13bbb5c11711dcd1ded11da061e0..1e778ba7c634665d68910b4891c944fc17ee0f7c 100644 (file)
 #ifdef __BIG_ENDIAN
 
 /* GET & SET Frame Control bit */
-#define WLAN_GET_FC_PRVER(n)    ((((u16)(n) >> 8) & (BIT0 | BIT1))
+#define WLAN_GET_FC_PRVER(n)    (((u16)(n) >> 8) & (BIT0 | BIT1))
 #define WLAN_GET_FC_FTYPE(n)    ((((u16)(n) >> 8) & (BIT2 | BIT3)) >> 2)
 #define WLAN_GET_FC_FSTYPE(n)   ((((u16)(n) >> 8) \
                                  & (BIT4|BIT5|BIT6|BIT7)) >> 4)