summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/commontypes.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-08-03 04:03:41 +0200
committerGreg Kroah-Hartman2014-08-16 21:23:06 +0200
commit2e4701ae2cfe5dc45a320a647b498fd9f2527b35 (patch)
tree311a36267dc86eadf1738d622b90b2062abf89d4 /drivers/staging/unisys/include/commontypes.h
parentstaging: unisys: remove GUEST_PHYSICAL_ADDRESS from commontypes.h (diff)
downloadkernel-qcow2-linux-2e4701ae2cfe5dc45a320a647b498fd9f2527b35.tar.gz
kernel-qcow2-linux-2e4701ae2cfe5dc45a320a647b498fd9f2527b35.tar.xz
kernel-qcow2-linux-2e4701ae2cfe5dc45a320a647b498fd9f2527b35.zip
staging: unisys: remove OFFSETOF from commontypes
The only place OFFSETOF was being used was in iochannel.h. Remove the macro from commontypes.h and replace all uses of it in iochannel.h with offsetof() instead. 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 fab0c58f8a76..0ed7f50cd20c 100644
--- a/drivers/staging/unisys/include/commontypes.h
+++ b/drivers/staging/unisys/include/commontypes.h
@@ -25,8 +25,6 @@
#include <linux/io.h>
#include <linux/uuid.h>
-#define OFFSETOF offsetof
-
#define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \
lin, logCtx) \
do { \