mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
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:
parent
62312f2210
commit
79b71d96f6
1 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue