Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79b71d96 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

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: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 62312f22
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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)
{