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:
2cee5df
)
remove the obsolete BCD*BIN/BIN*BCD macros
author
Adrian Bunk
<
[email protected]
>
Sun, 19 Oct 2008 03:28:47 +0000
(20:28 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 20 Oct 2008 15:52:41 +0000
(08:52 -0700)
Remove the following obsolete macros:
- BCD2BIN
- BIN2BCD
- BCD_TO_BIN
- BIN_TO_BCD
Signed-off-by: Adrian Bunk <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/bcd.h
patch
|
blob
|
history
diff --git
a/include/linux/bcd.h
b/include/linux/bcd.h
index 7ac518e3c152d9da46f53ed097adb3019245dd5f..75f6d6e699a0cb35e5fc388217fd1ed3b4ab5a91 100644
(file)
--- a/
include/linux/bcd.h
+++ b/
include/linux/bcd.h
@@
-15,11
+15,4
@@
unsigned bcd2bin(unsigned char val) __attribute_const__;
unsigned char bin2bcd(unsigned val) __attribute_const__;
-#define BCD2BIN(val) bcd2bin(val)
-#define BIN2BCD(val) bin2bcd(val)
-
-/* backwards compat */
-#define BCD_TO_BIN(val) ((val)=BCD2BIN(val))
-#define BIN_TO_BCD(val) ((val)=BIN2BCD(val))
-
#endif /* _BCD_H */