video: smscufx: Return an error code only as a constant in ufx_realloc_framebuffer()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 28 Mar 2018 14:34:28 +0000 (16:34 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 28 Mar 2018 14:34:28 +0000 (16:34 +0200)
commit4befd0cf21cd8ab11f45b9601b37fe8bc91de29f
tree6423b782afc21133c51967813a645b2885f4119e
parentdaa0524bc0a07048e33fdb61cae30467ef4ceff7
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>
drivers/video/fbdev/smscufx.c