Commit ea0e437c authored by Markus Elfring's avatar Markus Elfring Committed by Mauro Carvalho Chehab

[media] DaVinci-VPIF-Display: Delete an unnecessary variable initialisation in...

[media] DaVinci-VPIF-Display: Delete an unnecessary variable initialisation 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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 3ce5f660
...@@ -301,7 +301,7 @@ static struct vb2_ops video_qops = { ...@@ -301,7 +301,7 @@ static struct vb2_ops video_qops = {
static void process_progressive_mode(struct common_obj *common) static void process_progressive_mode(struct common_obj *common)
{ {
unsigned long addr = 0; unsigned long addr;
spin_lock(&common->irqlock); spin_lock(&common->irqlock);
/* Get the next buffer from buffer queue */ /* Get the next buffer from buffer queue */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment