Browse Source

/staging/vt6656: Delete extra paranthesis from macro definition

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>
Andreea-Cristina Bernat 11 years ago
parent
commit
74f161f619
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/vt6656/80211hdr.h

+ 1 - 1
drivers/staging/vt6656/80211hdr.h

@@ -151,7 +151,7 @@
 #ifdef __BIG_ENDIAN
 #ifdef __BIG_ENDIAN
 
 
 /* GET & SET Frame Control bit */
 /* 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_FTYPE(n)    ((((u16)(n) >> 8) & (BIT2 | BIT3)) >> 2)
 #define WLAN_GET_FC_FSTYPE(n)   ((((u16)(n) >> 8) \
 #define WLAN_GET_FC_FSTYPE(n)   ((((u16)(n) >> 8) \
 				  & (BIT4|BIT5|BIT6|BIT7)) >> 4)
 				  & (BIT4|BIT5|BIT6|BIT7)) >> 4)