Skip to content

Commit

Permalink
[media] s5p-mfc: Remove redundant 'break'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Jan 6, 2013
1 parent 8f23cc0 commit 55e2cf3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 55e2cf3

Please sign in to comment.