summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/au1100fb.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-03-28 17:34:29 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-03-28 17:34:29 +0300
commit46953e6aab262dc4fc1a7b00019d3852bc0fe90d (patch)
treec7386d26ecf756e2ac5f5f70e38b2d9abf5cb3c0 /drivers/video/fbdev/au1100fb.c
parentdb66f0252e2f17a469397a6fc4a100ed558e6775 (diff)
downloadlinux-46953e6aab262dc4fc1a7b00019d3852bc0fe90d.tar.xz
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>
Diffstat (limited to 'drivers/video/fbdev/au1100fb.c')
-rw-r--r--drivers/video/fbdev/au1100fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
index 1e5b872f0da6..7c9a672e9811 100644
--- a/drivers/video/fbdev/au1100fb.c
+++ b/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;