[media] s5p-mfc: Remove redundant 'break'
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 28 Dec 2012 09:18:27 +0000 (06:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:55:09 +0000 (09:55 -0200)
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>
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c

index bf7d010a41072278566ee3800edbe08673c8e441..2f099c44cb54fe72d7c1d7ab63d14a8b649a3939 100644 (file)
@@ -523,7 +523,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;