summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorBenjamin Romer <benjamin.romer@unisys.com>2014-08-05 14:57:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 12:23:07 -0700
commit52d13a618aa9b84b8ed8b761ca76cec51701afde (patch)
tree17240957edff47a56558d83fe0be131d508e713f /drivers/staging/unisys
parentf2170625b24f6224eec64f591b9360025ccae16f (diff)
downloadlinux-52d13a618aa9b84b8ed8b761ca76cec51701afde.tar.gz
linux-52d13a618aa9b84b8ed8b761ca76cec51701afde.tar.bz2
linux-52d13a618aa9b84b8ed8b761ca76cec51701afde.zip
staging: unisys: remove unused macros from timskmod.h
Several macros in timskmod.h are unused. Remove them. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/include/timskmod.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/unisys/include/timskmod.h b/drivers/staging/unisys/include/timskmod.h
index 8e0ae45d0f9a..e5e4ecd96495 100644
--- a/drivers/staging/unisys/include/timskmod.h
+++ b/drivers/staging/unisys/include/timskmod.h
@@ -62,8 +62,6 @@
#if !defined SUCCESS
#define SUCCESS 0
#endif
-#define FAILURE (-1)
-#define DRIVERNAMEMAX 50
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define STRUCTSEQUAL(x, y) (memcmp(&x, &y, sizeof(x)) == 0)
@@ -71,18 +69,6 @@
#define HOSTADDRESS unsigned long long
#endif
-#ifdef ENABLE_RETURN_TRACE
-#define RETTRACE(x) \
- do { \
- if (1) { \
- INFODRV("RET 0x%lx in %s", \
- (ulong)(x), __func__); \
- } \
- } while (0)
-#else
-#define RETTRACE(x)
-#endif
-
/** Try to evaulate the provided expression, and do a RETINT(x) iff
* the expression evaluates to < 0.
* @param x the expression to try