Commit 52d13a61 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: remove unused macros from timskmod.h

Several macros in timskmod.h are unused. Remove them.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f2170625
...@@ -62,8 +62,6 @@ ...@@ -62,8 +62,6 @@
#if !defined SUCCESS #if !defined SUCCESS
#define SUCCESS 0 #define SUCCESS 0
#endif #endif
#define FAILURE (-1)
#define DRIVERNAMEMAX 50
#define MIN(a, b) (((a) < (b)) ? (a) : (b)) #define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define MAX(a, b) (((a) > (b)) ? (a) : (b)) #define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define STRUCTSEQUAL(x, y) (memcmp(&x, &y, sizeof(x)) == 0) #define STRUCTSEQUAL(x, y) (memcmp(&x, &y, sizeof(x)) == 0)
...@@ -71,18 +69,6 @@ ...@@ -71,18 +69,6 @@
#define HOSTADDRESS unsigned long long #define HOSTADDRESS unsigned long long
#endif #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 /** Try to evaulate the provided expression, and do a RETINT(x) iff
* the expression evaluates to < 0. * the expression evaluates to < 0.
* @param x the expression to try * @param x the expression to try
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment