Browse Source

staging: unisys: remove unused defines from commontypes.h

Delete #defines that aren't used anywhere.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Benjamin Romer 11 năm trước cách đây
mục cha
commit
87b7307ae1
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      drivers/staging/unisys/include/commontypes.h

+ 0 - 3
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