diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-04-17 19:01:22 +0200 |
---|---|---|
committer | Chanho Park <cometzero@review.tizen.org> | 2014-04-22 01:30:27 -0700 |
commit | 94ef1680cc7f7c5bfa03de066a9b89b5d53dcff9 (patch) | |
tree | 789855c4ec38101a5b4600f73e0d2ebdc82ca352 | |
parent | 0dccffc0683ac0d91e3ce40f5bae4a88ecfc586d (diff) | |
download | linux-3.10-94ef1680cc7f7c5bfa03de066a9b89b5d53dcff9.tar.gz linux-3.10-94ef1680cc7f7c5bfa03de066a9b89b5d53dcff9.tar.bz2 linux-3.10-94ef1680cc7f7c5bfa03de066a9b89b5d53dcff9.zip |
s5p-mfc: Remove unused variable
This fixes following compilation warning:
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c: In function ‘s5p_mfc_buf_prepare’:
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c:1045:15: warning: unused variable ‘index’ [-Wunused-variable]
Change-Id: Id6c0c264c7169871df116ba6496b2e08e2638844
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c index 2825727aaee..0bae907a97b 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c @@ -1042,7 +1042,6 @@ static int s5p_mfc_buf_prepare(struct vb2_buffer *vb) { struct vb2_queue *vq = vb->vb2_queue; struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); - unsigned int index = vb->v4l2_buf.index; if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { if (vb2_plane_size(vb, 0) < ctx->luma_size || |