diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-12-28 04:18:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-01-06 06:55:09 -0500 |
commit | 55e2cf34ba290a18782c64786f0e1842b8394c45 (patch) | |
tree | 648ad0b861ff72a43418c423e12e11a848467210 /drivers/media/platform/s5p-mfc | |
parent | 8f23cc0222a9fe9c43f679dcb3d38604b30cf7c8 (diff) |
[media] s5p-mfc: Remove redundant 'break'
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>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc')
-rw-r--r-- | 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 bf7d010a4107..2f099c44cb54 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | |||
@@ -523,7 +523,6 @@ int s5p_mfc_set_dec_frame_buffer_v5(struct s5p_mfc_ctx *ctx) | |||
523 | mfc_err("Unknown codec for decoding (%x)\n", | 523 | mfc_err("Unknown codec for decoding (%x)\n", |
524 | ctx->codec_mode); | 524 | ctx->codec_mode); |
525 | return -EINVAL; | 525 | return -EINVAL; |
526 | break; | ||
527 | } | 526 | } |
528 | frame_size = ctx->luma_size; | 527 | frame_size = ctx->luma_size; |
529 | frame_size_ch = ctx->chroma_size; | 528 | frame_size_ch = ctx->chroma_size; |