projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd42fe6
)
backports: remove USHORT_MAX from kernel.h
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 8 Jun 2014 14:28:20 +0000
(16:28 +0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 16 Jun 2014 18:23:37 +0000
(20:23 +0200)
This define is not in the kernel any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/kernel.h
patch
|
blob
|
history
diff --git
a/backport/backport-include/linux/kernel.h
b/backport/backport-include/linux/kernel.h
index 707bed91f287ab991ac5e149bb487359f4e7ea89..e695842b9fff42564f4d2bc5e6e9990cc9863dce 100644
(file)
--- a/
backport/backport-include/linux/kernel.h
+++ b/
backport/backport-include/linux/kernel.h
@@
-67,12
+67,6
@@
#define lower_32_bits(n) ((u32)(n))
#endif
-#ifndef USHORT_MAX
-#define USHORT_MAX ((u16)(~0U))
-#define SHORT_MAX ((s16)(USHORT_MAX>>1))
-#define SHORT_MIN (-SHORT_MAX - 1)
-#endif
-
#ifndef clamp
#define clamp(val, min, max) ({ \
typeof(val) __val = (val); \