Re: [PATCH v2] staging: media: atomisp: Remove unneeded return statements
From: Andy Shevchenko
Date: Fri Nov 13 2026 - 03:37:08 EST
On Thu, Nov 12, 2026 at 6:47 PM Hezekiah Mogere Joseph Mayaka
<hmjm081106@xxxxxxxxx> wrote:
>
> Remove the bare return statements at the end of void functions
> throughout the driver, along with the blank lines before them. They
> have no effect and checkpatch.pl warns about them:
>
> WARNING: void function return statements are not generally useful
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>
Not that this is a really required patch for the current state of the
driver as a whole, but let's process it to avoid new patches like this
again and again.
--
With Best Regards,
Andy Shevchenko