1
0
Fork 0

[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: 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>
zero-colors
Markus Elfring 2016-10-12 10:45:03 -03:00 committed by Mauro Carvalho Chehab
parent 3ce5f66014
commit ea0e437cf9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */