staging: unisys: remove unused macros from visorchipset.h
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 31 Oct 2014 13:57:43 +0000 (09:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:02:46 +0000 (16:02 -0800)
Delete the macros and related preprocessor code for DBG_GETFILE_PAYLOAD(),
DBG_GETFILE(), and DBG_PUTFILE().

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset.h

index 4963cbccdc2b3240901995d378bcc6454220179e..46dad63fa2c8729798e04b5f6a17b8a6c6ec749d 100644 (file)
@@ -289,17 +289,4 @@ void *visorchipset_cache_alloc(struct kmem_cache *pool,
 void visorchipset_cache_free(struct kmem_cache *pool, void *p,
                             char *fn, int ln);
 
-#if defined(TRANSMITFILE_DEBUG) || defined(DEBUG)
-#define DBG_GETFILE_PAYLOAD(msg, controlvm_header)      \
-       LOGINF(msg,                                     \
-              (ulong)controlvm_header.PayloadVmOffset, \
-              (ulong)controlvm_header.PayloadMaxBytes)
-#define DBG_GETFILE(fmt, ...)  LOGINF(fmt, ##__VA_ARGS__)
-#define DBG_PUTFILE(fmt, ...)  LOGINF(fmt, ##__VA_ARGS__)
-#else
-#define DBG_GETFILE_PAYLOAD(msg, controlvm_header)
-#define DBG_GETFILE(fmt, ...)
-#define DBG_PUTFILE(fmt, ...)
-#endif
-
 #endif