diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-03-28 16:34:28 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-03-28 16:34:28 +0200 |
commit | 4befd0cf21cd8ab11f45b9601b37fe8bc91de29f (patch) | |
tree | 6423b782afc21133c51967813a645b2885f4119e /drivers/video/fbdev/arkfb.c | |
parent | daa0524bc0a07048e33fdb61cae30467ef4ceff7 (diff) | |
download | linux-4befd0cf21cd8ab11f45b9601b37fe8bc91de29f.tar.gz linux-4befd0cf21cd8ab11f45b9601b37fe8bc91de29f.tar.bz2 linux-4befd0cf21cd8ab11f45b9601b37fe8bc91de29f.zip |
video: smscufx: Return an error code only as a constant in ufx_realloc_framebuffer()
* Return an error code without storing it in an intermediate variable.
* Delete the label "error" and local variable "retval"
which became unnecessary with this refactoring.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/arkfb.c')
0 files changed, 0 insertions, 0 deletions