From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-media@vger.kernel.org
Cc: k.debski@samsung.com, s.nawrocki@samsung.com,
sylvester.nawrocki@gmail.com, sachin.kamat@linaro.org,
patches@linaro.org
Subject: [PATCH 2/3] [media] s5p-mfc: Remove redundant 'break'
Date: Fri, 28 Dec 2012 15:48:27 +0530 [thread overview]
Message-ID: <1356689908-6866-2-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1356689908-6866-1-git-send-email-sachin.kamat@linaro.org>
The code returns before this statement. Hence not required.
Silences the following smatch message:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:525
s5p_mfc_set_dec_frame_buffer_v5() info: ignoring unreachable code.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
index bb99d3d..b0f277e 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
@@ -522,7 +522,6 @@ int s5p_mfc_set_dec_frame_buffer_v5(struct s5p_mfc_ctx *ctx)
mfc_err("Unknown codec for decoding (%x)\n",
ctx->codec_mode);
return -EINVAL;
- break;
}
frame_size = ctx->luma_size;
frame_size_ch = ctx->chroma_size;
--
1.7.4.1
next prev parent reply other threads:[~2012-12-28 10:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 10:18 [PATCH 1/3] [media] s5p-mfc: use mfc_err instead of printk Sachin Kamat
2012-12-28 10:18 ` Sachin Kamat [this message]
2013-01-02 18:29 ` [PATCH 2/3] [media] s5p-mfc: Remove redundant 'break' Kamil Debski
2013-01-03 2:53 ` Sachin Kamat
2012-12-28 10:18 ` [PATCH 3/3] [media] s5p-mfc: Use of_match_ptr and CONFIG_OF Sachin Kamat
2013-01-06 14:48 ` Sylwester Nawrocki
2013-01-02 18:30 ` [PATCH 1/3] [media] s5p-mfc: use mfc_err instead of printk Kamil Debski
[not found] ` <CAK9yfHzbMKvo-WYED9hPdzCccjvKcXgtq=SqOLPEGuaGhMwqCw@mail.gmail.com>
2013-01-07 10:02 ` Sylwester Nawrocki
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=1356689908-6866-2-git-send-email-sachin.kamat@linaro.org \
--to=sachin.kamat@linaro.org \
--cc=k.debski@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=patches@linaro.org \
--cc=s.nawrocki@samsung.com \
--cc=sylvester.nawrocki@gmail.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).