[PATCH 3.6rc5.linux-next] Staging: silicom: Header-cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Staging: silicom: Header cleanup of WD_STEP_COUNT_GET

Signed-off-by: Daniel Cotey <puff65537@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/silicom/bp_ioctl.h | 2 +-
 drivers/staging/silicom/libbp_sd.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

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 {
-- 
1.7.11.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux