mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f0c7d2b72a
commit
a9672c4b86
@ -974,7 +974,7 @@ static int tmiofb_resume(struct platform_device *dev)
|
||||
{
|
||||
struct fb_info *info = platform_get_drvdata(dev);
|
||||
struct mfd_cell *cell = dev->dev.platform_data;
|
||||
int retval;
|
||||
int retval = 0;
|
||||
|
||||
acquire_console_sem();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user