soc: qcom: smp2p: Don't check for NULL before ipc_log_string()

The ipc_log_string() function quietly checks for a NULL context so an
explicit check is not needed.

Change-Id: Ic0dedbada086a4daf011875cf3996c5749317307
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2019-10-15 10:17:39 -06:00
commit 79b71d96f6

View file

@ -165,10 +165,7 @@ struct qcom_smp2p {
static void *ilc;
#define SMP2P_LOG_PAGE_CNT 2
#define SMP2P_INFO(x, ...) \
do { \
if (ilc) \
ipc_log_string(ilc, "[%s]: "x, __func__, ##__VA_ARGS__); \
} while (0)
ipc_log_string(ilc, "[%s]: "x, __func__, ##__VA_ARGS__)
static void qcom_smp2p_kick(struct qcom_smp2p *smp2p)
{