drivers: soc: qcom: rimps_log: remove unused character while printing

Discard character printing in ipc log buf when get_next_logbuf()
returns count value less than the size argument.

Change-Id: I0ba388400c76c16da423a2ccb67d961ed31e87b4
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
Santosh Mardi 2020-11-23 20:18:56 +05:30 committed by Gerrit - the friendly Code Review server
parent 69baed9a80
commit 3e84ab94dd

View File

@ -126,7 +126,7 @@ static void rimps_log_work(struct work_struct *work)
}
} else {
ipc_log_string(info->ipc_log_ctxt,
"%s\n", src, c);
"%s\n", src);
}
buf_start += cnt;