From 6690da5fdc2056b78376919944886c78defcba5f Mon Sep 17 00:00:00 2001 From: DanielC Date: Mon, 10 Sep 2012 19:41:51 -0700 Subject: Staging: silicom: Header-cleanup Staging: silicom: Header cleanup of WD_STEP_COUNT_GET Signed-off-by: Daniel Cotey Signed-off-by: Greg Kroah-Hartman --- drivers/staging/silicom/bp_ioctl.h | 2 +- drivers/staging/silicom/libbp_sd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/staging/silicom') diff --git a/drivers/staging/silicom/bp_ioctl.h b/drivers/staging/silicom/bp_ioctl.h index 7621fe8176bc..7d468a0ee79a 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 1ba8b8405bcf..d223a6cfca27 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 { -- cgit v1.2.3