2015-08-13 04:01:55

by yalin wang

[permalink] [raw]
Subject: [PATCH] net/fddi: remove HWM_REVERSE() macro

HWM_REVERSE() macro is unused, remove it.

Signed-off-by: yalin wang <[email protected]>
---
drivers/net/fddi/skfp/h/hwmtm.h | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/drivers/net/fddi/skfp/h/hwmtm.h b/drivers/net/fddi/skfp/h/hwmtm.h
index 5924d42..4ca2341 100644
--- a/drivers/net/fddi/skfp/h/hwmtm.h
+++ b/drivers/net/fddi/skfp/h/hwmtm.h
@@ -74,15 +74,6 @@
#define NULL 0
#endif

-#ifdef LITTLE_ENDIAN
-#define HWM_REVERSE(x) (x)
-#else
-#define HWM_REVERSE(x) ((((x)<<24L)&0xff000000L) + \
- (((x)<< 8L)&0x00ff0000L) + \
- (((x)>> 8L)&0x0000ff00L) + \
- (((x)>>24L)&0x000000ffL))
-#endif
-
#define C_INDIC (1L<<25)
#define A_INDIC (1L<<26)
#define RD_FS_LOCAL 0x80
--
1.9.1


2015-08-14 04:12:32

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] net/fddi: remove HWM_REVERSE() macro

From: yalin wang <[email protected]>
Date: Thu, 13 Aug 2015 12:01:33 +0800

> HWM_REVERSE() macro is unused, remove it.
>
> Signed-off-by: yalin wang <[email protected]>

Applied.