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:
5da77f3
)
staging: unisys: include: remove macro lengthof
author
Jon Frisch
<
[email protected]
>
Fri, 17 Mar 2017 15:27:12 +0000
(11:27 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 21 Mar 2017 06:58:46 +0000
(07:58 +0100)
This patch removes the unused macro lengthof.
Signed-off-by: Jon Frisch <
[email protected]
>
Signed-off-by: David Kershner <
[email protected]
>
Reviewed-by: Tim Sell <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/unisys/include/channel.h
patch
|
blob
|
history
diff --git
a/drivers/staging/unisys/include/channel.h
b/drivers/staging/unisys/include/channel.h
index 8c6a7ad2f46c0eb04c715939c7059f91b0e93c09..e5e36980ace5ae07d611566a5a9a88f3216591a5 100644
(file)
--- a/
drivers/staging/unisys/include/channel.h
+++ b/
drivers/staging/unisys/include/channel.h
@@
-38,9
+38,6
@@
#define SIGNATURE_64(A, B, C, D, E, F, G, H) \
(SIGNATURE_32(A, B, C, D) | ((u64)(SIGNATURE_32(E, F, G, H)) << 32))
-#ifndef lengthof
-#define lengthof(TYPE, MEMBER) (sizeof(((TYPE *)0)->MEMBER))
-#endif
#ifndef COVER
#define COVER(v, d) ((d) * DIV_ROUND_UP(v, d))
#endif