From: Markus Elfring Date: Wed, 12 Oct 2016 13:45:03 +0000 (-0300) Subject: [media] DaVinci-VPIF-Display: Delete an unnecessary variable initialisation in proces... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ea0e437cf9443ae58e38bff1242ff0c80d0c4efb;p=linux-beck.git [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/davinci/vpif_display.c b/drivers/media/platform/davinci/vpif_display.c index 3bf68aace5af..e5f18448dbf7 100644 --- a/drivers/media/platform/davinci/vpif_display.c +++ b/drivers/media/platform/davinci/vpif_display.c @@ -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 */