* [PATCH] gpu/drm/msm: remove redundant when devm_kzalloc failed
@ 2021-02-02 12:05 Bernard Zhao
2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
0 siblings, 1 reply; 2+ messages in thread
From: Bernard Zhao @ 2021-02-02 12:05 UTC (permalink / raw)
To: Rob Clark, Sean Paul, David Airlie, Daniel Vetter,
Kristian H. Kristensen, Rajendra Nayak, Emil Velikov,
Matthias Kaehlcke, Bernard Zhao, Rikard Falkeborn, Viresh Kumar,
linux-arm-msm, dri-devel, freedreno, linux-kernel
Cc: opensource.kernel
Line 1826 pr_err is redundant because memory alloc already
prints an error when failed.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c
index ab281cba0f08..246d3f06f3ef 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_host.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_host.c
@@ -1826,8 +1826,6 @@ int msm_dsi_host_init(struct msm_dsi *msm_dsi)
msm_host = devm_kzalloc(&pdev->dev, sizeof(*msm_host), GFP_KERNEL);
if (!msm_host) {
- pr_err("%s: FAILED: cannot alloc dsi host\n",
- __func__);
ret = -ENOMEM;
goto fail;
}
--
2.29.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpu/drm/msm: remove redundant when devm_kzalloc failed
2021-02-02 12:05 [PATCH] gpu/drm/msm: remove redundant when devm_kzalloc failed Bernard Zhao
@ 2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2021-05-26 19:03 UTC (permalink / raw)
To: Bernard Zhao; +Cc: linux-arm-msm
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
On Tue, 2 Feb 2021 04:05:49 -0800 you wrote:
> Line 1826 pr_err is redundant because memory alloc already
> prints an error when failed.
>
> Signed-off-by: Bernard Zhao <bernard@vivo.com>
> ---
> drivers/gpu/drm/msm/dsi/dsi_host.c | 2 --
> 1 file changed, 2 deletions(-)
Here is the summary with links:
- gpu/drm/msm: remove redundant when devm_kzalloc failed
https://git.kernel.org/qcom/c/8c64a945a614
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-26 19:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 12:05 [PATCH] gpu/drm/msm: remove redundant when devm_kzalloc failed Bernard Zhao
2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).