Re: [PATCH v2] staging: sm750fb: remove unnecessary goto

From: Dan Carpenter

Date: Sun Oct 25 2026 - 14:19:24 EST


On Sun, Oct 25, 2026 at 04:26:32PM +0000, Haasham Khan wrote:
> Return directly when setting the mode timing fails, rather than
> jumping to a label that only returns ret. Return 0 on the successful
> path.
>
> Signed-off-by: Haasham Khan <haasham93@xxxxxxxxx>
> ---
>
> Changes in v2:
> - Return 0 on the successful path, as suggested by Dan Carpenter.

Thanks!

Reviewed-by: Dan Carpenter <error27@xxxxxxxxx>

regards,
dan carpenter