summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/commontypes.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-07-31 18:01:00 +0200
committerGreg Kroah-Hartman2014-08-01 23:38:45 +0200
commit1496125efd6b5852573d0c7ad5ebc7d60599b1b3 (patch)
tree735c5864e4e4cd50c7c22f1bea096dde286ad28e /drivers/staging/unisys/include/commontypes.h
parentstaging: unisys: remove MEMSET define (diff)
downloadkernel-qcow2-linux-1496125efd6b5852573d0c7ad5ebc7d60599b1b3.tar.gz
kernel-qcow2-linux-1496125efd6b5852573d0c7ad5ebc7d60599b1b3.tar.xz
kernel-qcow2-linux-1496125efd6b5852573d0c7ad5ebc7d60599b1b3.zip
staging: unisys: remove MEMCMP_IO
This patch removes MEMCMP_IO from commontypes.h and fixes the one use of the macro so it calls uuid_cmp_le() instead. The old code was comparing UUIDs directly. 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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/unisys/include/commontypes.h b/drivers/staging/unisys/include/commontypes.h
index 3540976fabc2..4311e9f6200f 100644
--- a/drivers/staging/unisys/include/commontypes.h
+++ b/drivers/staging/unisys/include/commontypes.h
@@ -27,8 +27,6 @@
typedef u64 GUEST_PHYSICAL_ADDRESS;
-#define MEMCMP_IO(m1, m2, len) memcmp((void __force *)m1, m2, len)
-
#define INLINE inline
#define OFFSETOF offsetof