Staging: silicom: Header-cleanup
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>
diff --git a/drivers/staging/silicom/bp_ioctl.h b/drivers/staging/silicom/bp_ioctl.h
index 7621fe8..7d468a0 100644
--- a/drivers/staging/silicom/bp_ioctl.h
+++ b/drivers/staging/silicom/bp_ioctl.h
@@ -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,
diff --git a/drivers/staging/silicom/libbp_sd.h b/drivers/staging/silicom/libbp_sd.h
index 1ba8b84..d223a6cf 100644
--- a/drivers/staging/silicom/libbp_sd.h
+++ b/drivers/staging/silicom/libbp_sd.h
@@ -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 {