Staging: silicom: Header-cleanup
authorDanielC <puff65537@bansheeslibrary.com>
Tue, 11 Sep 2012 02:41:51 +0000 (19:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:45:27 +0000 (15:45 -0700)
Staging: silicom: Header cleanup of WD_STEP_COUNT_GET

Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bp_ioctl.h
drivers/staging/silicom/libbp_sd.h

index 7621fe8176bc45523152f1f620ab38700f472ae6..7d468a0ee79ac0005c2b928118b347b3cc0d81ef 100644 (file)
@@ -53,7 +53,7 @@
 #define WDT_STEP_TIME              0x10        /* BIT_4 */
 
 #define WD_MIN_TIME_GET(desc)   (desc & 0xf)
-#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
+#define WD_STEP_COUNT_GET(desc) ((desc>>5) & 0xf)
 
 typedef enum {
        IF_SCAN,
index 1ba8b8405bcf07d14550268d0dd2f02fb1d92f7d..d223a6cfca2723a03fb5b52b7fcd9584e364421a 100644 (file)
@@ -42,7 +42,6 @@
 #define NIC_CAP_NEG              0x4000000     /* BIT 26 */
 
 #define WD_MIN_TIME_GET(desc)   (desc & 0xf)
-#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
 #define WDT_STEP_TIME           0x10
 
 struct bp_info {