Skip to contentSkip to conversation

net/fddi: remove HWM_REVERSE() macro

PATCH Applied yalin wang 2 participants 2 messages Aug 13, 2015 – Aug 14, 2015

Subsystems (2)
lore
Share & tools
lore

yalin wang

author
#0 lore raw

PATCH 1/1 net/fddi: remove HWM_REVERSE() macro

HWM_REVERSE() macro is unused, remove it.

---
 drivers/net/fddi/skfp/h/hwmtm.h | 9 ---------
 1 file changed, 9 deletions(-)
drivers/net/fddi/skfp/h/hwmtm.h +0 -9
index 5924d42..4ca2341 100644
@@ -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
Signature · 1 line
1.9.1