mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
video: pxa168fb: remove a redundant pxa168fb_check_var call
Current implementation calls pxa168fb_check_var twice in pxa168fb_probe. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
360c202beb
commit
e88e43b0c5
1 changed files with 1 additions and 5 deletions
|
|
@ -701,16 +701,12 @@ static int __devinit pxa168fb_probe(struct platform_device *pdev)
|
|||
*/
|
||||
pxa168fb_init_mode(info, mi);
|
||||
|
||||
ret = pxa168fb_check_var(&info->var, info);
|
||||
if (ret)
|
||||
goto failed_free_fbmem;
|
||||
|
||||
/*
|
||||
* Fill in sane defaults.
|
||||
*/
|
||||
ret = pxa168fb_check_var(&info->var, info);
|
||||
if (ret)
|
||||
goto failed;
|
||||
goto failed_free_fbmem;
|
||||
|
||||
/*
|
||||
* enable controller clock
|
||||
|
|
|
|||
Loading…
Reference in a new issue