summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/commontypes.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-07-31 18:00:57 +0200
committerGreg Kroah-Hartman2014-08-01 23:38:45 +0200
commit87b7307ae1a3df1f474d4cc7deecc641862d0b87 (patch)
treece1ce7a54c0df04c9fdcf22a3305d51609177d1f /drivers/staging/unisys/include/commontypes.h
parentstaging: unisys: remove non-kernel code from commontypes.h (diff)
downloadkernel-qcow2-linux-87b7307ae1a3df1f474d4cc7deecc641862d0b87.tar.gz
kernel-qcow2-linux-87b7307ae1a3df1f474d4cc7deecc641862d0b87.tar.xz
kernel-qcow2-linux-87b7307ae1a3df1f474d4cc7deecc641862d0b87.zip
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>
Diffstat (limited to 'drivers/staging/unisys/include/commontypes.h')
-rw-r--r--drivers/staging/unisys/include/commontypes.h3
1 files changed, 0 insertions, 3 deletions
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