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:
parent
f11c619c57
commit
3b2eb3799e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue