mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "msm: adsprpc: Don't check for NULL before ipc_log_string()"
This commit is contained in:
commit
fbd3d320a7
1 changed files with 2 additions and 6 deletions
|
|
@ -132,12 +132,8 @@
|
|||
|
||||
#define FASTRPC_GLINK_LOG_PAGES 8
|
||||
#define LOG_FASTRPC_GLINK_MSG(ctx, x, ...) \
|
||||
do { \
|
||||
if (ctx) \
|
||||
ipc_log_string(ctx, "%s (%d, %d): "x, \
|
||||
current->comm, current->tgid, current->pid, \
|
||||
##__VA_ARGS__); \
|
||||
} while (0)
|
||||
ipc_log_string(ctx, "%s (%d, %d): "x, \
|
||||
current->comm, current->tgid, current->pid, ##__VA_ARGS__)
|
||||
|
||||
static int fastrpc_pdr_notifier_cb(struct notifier_block *nb,
|
||||
unsigned long code,
|
||||
|
|
|
|||
Loading…
Reference in a new issue