diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index 7381354733f9..f004c4671abe 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -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,