mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
db66f0252e
commit
46953e6aab
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue