projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd19f83
)
net/fddi: remove HWM_REVERSE() macro
author
yalin wang
<yalin.wang2010@gmail.com>
Thu, 13 Aug 2015 04:01:33 +0000
(12:01 +0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 14 Aug 2015 04:12:17 +0000
(21:12 -0700)
HWM_REVERSE() macro is unused, remove it.
Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/skfp/h/hwmtm.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/fddi/skfp/h/hwmtm.h
b/drivers/net/fddi/skfp/h/hwmtm.h
index 5924d4219e9e953f67ee50cdd4add750b6d42c16..4ca2341d7f067a7cd979defac3fea8c0be1aef87 100644
(file)
--- 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