Skip to content
Snippets Groups Projects
Commit a9672c4b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

drivers/video/tmiofb.c: fix uninitialised return value


drivers/video/tmiofb.c: In function 'tmiofb_resume':
drivers/video/tmiofb.c:977: warning: 'retval' may be used uninitialized in this function

Acked-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f0c7d2b7
No related branches found
No related tags found
No related merge requests found
...@@ -974,7 +974,7 @@ static int tmiofb_resume(struct platform_device *dev) ...@@ -974,7 +974,7 @@ static int tmiofb_resume(struct platform_device *dev)
{ {
struct fb_info *info = platform_get_drvdata(dev); struct fb_info *info = platform_get_drvdata(dev);
struct mfd_cell *cell = dev->dev.platform_data; struct mfd_cell *cell = dev->dev.platform_data;
int retval; int retval = 0;
acquire_console_sem(); acquire_console_sem();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment