Commit 3b2eb379 authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Greg Kroah-Hartman

staging: ccree: replace noop macro with inline

Replace noop macro with a noop inline function
Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f11c619c
...@@ -187,8 +187,8 @@ struct async_gen_req_ctx { ...@@ -187,8 +187,8 @@ struct async_gen_req_ctx {
#ifdef DX_DUMP_BYTES #ifdef DX_DUMP_BYTES
void dump_byte_array(const char *name, const u8 *the_array, unsigned long size); void dump_byte_array(const char *name, const u8 *the_array, unsigned long size);
#else #else
#define dump_byte_array(name, array, size) do { \ static inline void dump_byte_array(const char *name, const u8 *the_array,
} while (0); unsigned long size) {};
#endif #endif
int init_cc_regs(struct ssi_drvdata *drvdata, bool is_probe); int init_cc_regs(struct ssi_drvdata *drvdata, bool is_probe);
......
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