Skip to content

Commit

Permalink
[media] DaVinci-VPIF-Display: Delete an unnecessary variable initiali…
Browse files Browse the repository at this point in the history
…sation in process_progressive_mode()

The local variable "addr" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
elfring authored and mchehab committed Nov 16, 2016
1 parent 3ce5f66 commit ea0e437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/davinci/vpif_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static struct vb2_ops video_qops = {

static void process_progressive_mode(struct common_obj *common)
{
unsigned long addr = 0;
unsigned long addr;

spin_lock(&common->irqlock);
/* Get the next buffer from buffer queue */
Expand Down

0 comments on commit ea0e437

Please sign in to comment.