From: Benjamin Romer Date: Thu, 31 Jul 2014 16:00:57 +0000 (-0400) Subject: staging: unisys: remove unused defines from commontypes.h X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=87b7307ae1a3df1f474d4cc7deecc641862d0b87;p=deliverable%2Flinux.git staging: unisys: remove unused defines from commontypes.h Delete #defines that aren't used anywhere. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/include/commontypes.h b/drivers/staging/unisys/include/commontypes.h index 2aac0ddeaffb..b569c348d0f8 100644 --- a/drivers/staging/unisys/include/commontypes.h +++ b/drivers/staging/unisys/include/commontypes.h @@ -34,10 +34,7 @@ typedef u64 GUEST_PHYSICAL_ADDRESS; #define MEMSET(ptr, val, len) memset(ptr, val, len) -#define MEMCMP(m1, m2, len) memcmp(m1, m2, len) #define MEMCMP_IO(m1, m2, len) memcmp((void __force *)m1, m2, len) -#define STRLEN(s) ((UINTN)strlen((const char *)s)) -#define STRCPY(d, s) (strcpy((char *)d, (const char *)s)) #define INLINE inline #define OFFSETOF offsetof