public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@iki.fi>
To: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
Cc: hansg@kernel.org, gregkh@linuxfoundation.org,
	linux-staging@lists.linux.dev, linux-media@vger.kernel.org
Subject: Re: [PATCH] staging: atomisp: remove useless return statement in atomisp_cmd.c
Date: Sat, 18 Apr 2026 11:43:16 +0300	[thread overview]
Message-ID: <aeNEJBJ660YHPfRV@valkosipuli.retiisi.eu> (raw)
In-Reply-To: <20260301212900.3783-1-rayfraytech@gmail.com>

Hi Oskar,

On Sun, Mar 01, 2026 at 10:29:00PM +0100, Oskar Ray-Frayssinet wrote:
> Remove unnecessary return statement at the end of void function.
> 
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
> ---
>  drivers/staging/media/atomisp/pci/atomisp_cmd.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> index d5c5895e06e2..de0446997154 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
> @@ -1417,7 +1417,6 @@ static void atomisp_update_grid_info(struct atomisp_sub_device *asd,
>  
>  err:
>  	atomisp_css_free_stat_buffers(asd);
> -	return;

I'm sure there are more of these in the driver.

>  }
>  
>  static void atomisp_curr_user_grid_info(struct atomisp_sub_device *asd,

-- 
Regards,

Sakari Ailus

      parent reply	other threads:[~2026-04-18  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-01 21:29 [PATCH] staging: atomisp: remove useless return statement in atomisp_cmd.c Oskar Ray-Frayssinet
2026-03-01 21:39 ` Ethan Tidmore
2026-04-18  8:43 ` Sakari Ailus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aeNEJBJ660YHPfRV@valkosipuli.retiisi.eu \
    --to=sakari.ailus@iki.fi \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=rayfraytech@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox