diff options
author | Jon Frisch <jon.frisch@unisys.com> | 2017-03-17 11:27:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-21 07:58:46 +0100 |
commit | 245b746d459c3732861b37ceef6523c6098ad3d0 (patch) | |
tree | bbc106591826997e8f18f0aba5e840524293ff54 | |
parent | 5da77f375d2364385842602b50057aafc039e543 (diff) |
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>
-rw-r--r-- | drivers/staging/unisys/include/channel.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/unisys/include/channel.h b/drivers/staging/unisys/include/channel.h index 8c6a7ad2f46c..e5e36980ace5 100644 --- 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 |