firmware: qcom: scm: Remove log reporting memory allocation failure
authorMukesh Ojha <quic_mojha@quicinc.com>
Thu, 21 Mar 2024 15:23:59 +0000 (20:53 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 21 Apr 2024 17:07:10 +0000 (12:07 -0500)
commit3de990f7895906a7a18d2dff63e3e525acaa4ecc
tree4643c76325406b6c908b5dc81f16de88299cd07d
parentd6cbce2cd354c9a37a558f290a8f1dfd20584f99
firmware: qcom: scm: Remove log reporting memory allocation failure

Remove redundant memory allocation failure.

WARNING: Possible unnecessary 'out of memory' message
+       if (!mdata_buf) {
+               dev_err(__scm->dev, "Allocation of metadata buffer failed.\n");

Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1711034642-22860-1-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/firmware/qcom/qcom_scm.c