mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
staging: unisys: include: remove macro lengthof
This patch removes the unused macro lengthof. Signed-off-by: Jon Frisch <jon.frisch@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5da77f375d
commit
245b746d45
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user