This fixes compilation

If debug mode is disabled.
This commit is contained in:
Igor Pečovnik
2020-02-28 20:20:13 +01:00
committed by GitHub
parent 934634cb97
commit 5208da734e

View File

@@ -6358,6 +6358,7 @@ ssize_t proc_set_lck(struct file *file, const char __user *buffer, size_t count,
inline void RTW_BUF_DUMP_SEL(uint _loglevel, void *sel, u8 *_titlestring,
bool _idx_show, const u8 *_hexdata, int _hexdatalen)
{
#ifdef CONFIG_RTW_DEBUG
int __i;
u8 *ptr = (u8 *)_hexdata;
@@ -6383,6 +6384,7 @@ inline void RTW_BUF_DUMP_SEL(uint _loglevel, void *sel, u8 *_titlestring,
}
_RTW_PRINT_SEL(sel, "\n");
}
#endif
}
#else
inline void _RTW_STR_DUMP_SEL(void *sel, char *str_out)