fb: Fix use of unitialized variable
'ret' is only initialized when info->fbops->fb_activate_var exists, so
only use it in this case.

Reported-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0530a2e commit 7b8779541f86bbc6f6b461f1ea1c2f4310bb8335
@Sascha Hauer Sascha Hauer authored on 8 Apr 2014
Showing 1 changed file
View
drivers/video/fb.c