Commit 245b746d authored by Jon Frisch's avatar Jon Frisch Committed by Greg Kroah-Hartman

staging: unisys: include: remove macro lengthof

This patch removes the unused macro lengthof.
Signed-off-by: default avatarJon Frisch <jon.frisch@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5da77f37
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment