Browse Source

video: au1100fb: Delete an unnecessary variable initialisation in au1100fb_drv_probe()

The local variable "fbdev" will be reassigned by a following statement.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Markus Elfring 7 years ago
parent
commit
46953e6aab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/fbdev/au1100fb.c

+ 1 - 1
drivers/video/fbdev/au1100fb.c

@@ -410,7 +410,7 @@ static int au1100fb_setup(struct au1100fb_device *fbdev)
 
 static int au1100fb_drv_probe(struct platform_device *dev)
 {
-	struct au1100fb_device *fbdev = NULL;
+	struct au1100fb_device *fbdev;
 	struct resource *regs_res;
 	unsigned long page;
 	struct clk *c;