Commit 10c295a1 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: remove unused macros from visorchipset.h

Delete the macros and related preprocessor code for DBG_GETFILE_PAYLOAD(),
DBG_GETFILE(), and DBG_PUTFILE().
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60f4cf03
...@@ -289,17 +289,4 @@ void *visorchipset_cache_alloc(struct kmem_cache *pool, ...@@ -289,17 +289,4 @@ void *visorchipset_cache_alloc(struct kmem_cache *pool,
void visorchipset_cache_free(struct kmem_cache *pool, void *p, void visorchipset_cache_free(struct kmem_cache *pool, void *p,
char *fn, int ln); 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 #endif
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