summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/commontypes.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-08-03 04:03:37 +0200
committerGreg Kroah-Hartman2014-08-16 21:23:06 +0200
commit2e20c4a7c8179d3216eaf03c3c8fa8badfb35290 (patch)
treef8a0dbb96ce23e018e699f5476457f50e308a065 /drivers/staging/unisys/include/commontypes.h
parentstaging: dgap: cleanup print messages for dgap driver (diff)
downloadkernel-qcow2-linux-2e20c4a7c8179d3216eaf03c3c8fa8badfb35290.tar.gz
kernel-qcow2-linux-2e20c4a7c8179d3216eaf03c3c8fa8badfb35290.tar.xz
kernel-qcow2-linux-2e20c4a7c8179d3216eaf03c3c8fa8badfb35290.zip
staging: unisys: remove MEMCPY functions from commontypes.h
This patch removes MEMCPY, MEMCPY_FROMIO, and MEMCPY_TOIO from commontypes.h, and switches all use of these macros to the appropriate built in definition. 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 4311e9f6200f..53ac77053340 100644
--- a/drivers/staging/unisys/include/commontypes.h
+++ b/drivers/staging/unisys/include/commontypes.h
@@ -31,9 +31,6 @@ typedef u64 GUEST_PHYSICAL_ADDRESS;
#define OFFSETOF offsetof
#define MEMORYBARRIER mb()
-#define MEMCPY(dest, src, len) memcpy(dest, src, len)
-#define MEMCPY_TOIO(dest, src, len) memcpy_toio(dest, src, len)
-#define MEMCPY_FROMIO(dest, src, len) memcpy_fromio(dest, src, len)
#define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \
lin, logCtx) \