staging: ccree: replace noop macro with inline

Replace noop macro with a noop inline function

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gilad Ben-Yossef 2017-09-07 12:00:15 +03:00 committed by Greg Kroah-Hartman
parent f11c619c57
commit 3b2eb3799e
1 changed files with 2 additions and 2 deletions

View File

@ -187,8 +187,8 @@ struct async_gen_req_ctx {
#ifdef DX_DUMP_BYTES
void dump_byte_array(const char *name, const u8 *the_array, unsigned long size);
#else
#define dump_byte_array(name, array, size) do { \
} while (0);
static inline void dump_byte_array(const char *name, const u8 *the_array,
unsigned long size) {};
#endif
int init_cc_regs(struct ssi_drvdata *drvdata, bool is_probe);