Skip to content

Commit

Permalink
[media] s5p-g2d: remove two unused variables from the G2D driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kamil Debski authored and Mauro Carvalho Chehab committed Dec 11, 2011
1 parent 806e23e commit a16fa71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/s5p-g2d/g2d-hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand Down

0 comments on commit a16fa71

Please sign in to comment.