# Re: \[PATCH v3 2/3\] video: smscufx: Return an error code only as a constant in ufx\_realloc\_framebuffe

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2018-03-28 13:49:04 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2018/03/5244811
- Thread: https://ratatoskr.run/linux-fbdev/2017/11/5140582/t.md

```text
On Sunday, January 07, 2018 05:04:04 PM SF Markus Elfring wrote:
> From: Markus Elfring <redacted>
> Date: Sun, 7 Jan 2018 16:07:11 +0100
> 
> * 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 <redacted>

Patch queued for 4.17, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

```
