mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "net: cnss2: Don't check for NULL before ipc_log_string()"
This commit is contained in:
commit
f7fc99db44
1 changed files with 4 additions and 8 deletions
|
|
@ -12,15 +12,11 @@
|
|||
extern void *cnss_ipc_log_context;
|
||||
extern void *cnss_ipc_log_long_context;
|
||||
|
||||
#define cnss_ipc_log_string(_x...) do { \
|
||||
if (cnss_ipc_log_context) \
|
||||
ipc_log_string(cnss_ipc_log_context, _x); \
|
||||
} while (0)
|
||||
#define cnss_ipc_log_string(_x...) \
|
||||
ipc_log_string(cnss_ipc_log_context, _x)
|
||||
|
||||
#define cnss_ipc_log_long_string(_x...) do { \
|
||||
if (cnss_ipc_log_long_context) \
|
||||
ipc_log_string(cnss_ipc_log_long_context, _x); \
|
||||
} while (0)
|
||||
#define cnss_ipc_log_long_string(_x...) \
|
||||
ipc_log_string(cnss_ipc_log_long_context, _x)
|
||||
|
||||
#define cnss_pr_err(_fmt, ...) do { \
|
||||
printk("%scnss: " _fmt, KERN_ERR, ##__VA_ARGS__); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue