summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2011-12-09 11:39:52 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-11 12:02:47 -0200
commita16fa71d6b2f96cb483b82ffac07459ae0939c1d (patch)
treec616aa86d0c93378b861a5f668a63f5e326c3a14 /drivers/media/video
parent806e23e95f94a27ee445022d724060b9b45cb64a (diff)
[media] s5p-g2d: remove two unused variables from the G2D driver
Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/s5p-g2d/g2d-hw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-g2d/g2d-hw.c b/drivers/media/video/s5p-g2d/g2d-hw.c
index e5249f38ff71..39937cf03c88 100644
--- a/drivers/media/video/s5p-g2d/g2d-hw.c
+++ b/drivers/media/video/s5p-g2d/g2d-hw.c
@@ -27,7 +27,6 @@ void g2d_reset(struct g2d_dev *d)
void g2d_set_src_size(struct g2d_dev *d, struct g2d_frame *f)
{
u32 n;
- u32 stride;
w(f->stride & 0xFFFF, SRC_STRIDE_REG);
@@ -52,7 +51,6 @@ void g2d_set_src_addr(struct g2d_dev *d, dma_addr_t a)
void g2d_set_dst_size(struct g2d_dev *d, struct g2d_frame *f)
{
u32 n;
- u32 stride;
w(f->stride & 0xFFFF, DST_STRIDE_REG);