From: Drew Davenport <ddavenport@chromium.org>
To: dri-devel@lists.freedesktop.org
Cc: Drew Davenport <ddavenport@chromium.org>,
David Airlie <airlied@linux.ie>, Sean Paul <sean@poorly.run>,
zhengbin <zhengbin13@huawei.com>,
Bruce Wang <bzwang@chromium.org>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
Jeykumar Sankaran <jsanka@codeaurora.org>,
Jordan Crouse <jcrouse@codeaurora.org>,
Rob Clark <robdclark@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
freedreno@lists.freedesktop.org, Daniel Vetter <daniel@ffwll.ch>
Subject: [PATCH 5/6] drm/msm/dpu: Remove unreachable code
Date: Fri, 6 Dec 2019 16:13:47 -0700 [thread overview]
Message-ID: <20191206161137.5.I3259a95a1b16978f6b38c23597a9bbba4521cf67@changeid> (raw)
In-Reply-To: <20191206161137.1.Ibb7612c1ebcebe3f560b3269150c0e0363f01e44@changeid>
The return statement follows another return statement, so will never be
reached.
Signed-off-by: Drew Davenport <ddavenport@chromium.org>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
index cfd01b0ac7f1..cc2ecf327582 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
@@ -816,6 +816,4 @@ struct dpu_encoder_phys *dpu_encoder_phys_cmd_init(
DPU_DEBUG_CMDENC(cmd_enc, "created\n");
return phys_enc;
-
- return ERR_PTR(ret);
}
--
2.21.0
next prev parent reply other threads:[~2019-12-06 23:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-06 23:13 [PATCH 1/6] drm/msm/dpu: Remove unnecessary NULL checks Drew Davenport
2019-12-06 23:13 ` [PATCH 2/6] " Drew Davenport
2019-12-06 23:13 ` [PATCH 3/6] " Drew Davenport
2019-12-06 23:13 ` [PATCH 4/6] drm/msm/dpu: Remove unnecessary NULL check Drew Davenport
2019-12-06 23:13 ` Drew Davenport [this message]
2019-12-06 23:13 ` [PATCH 6/6] drm/msm/dpu: Remove unnecessary NULL checks Drew Davenport
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191206161137.5.I3259a95a1b16978f6b38c23597a9bbba4521cf67@changeid \
--to=ddavenport@chromium.org \
--cc=airlied@linux.ie \
--cc=bzwang@chromium.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jcrouse@codeaurora.org \
--cc=jsanka@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
--cc=tglx@linutronix.de \
--cc=zhengbin13@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).