mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Xu Wang <vulab@iscas.ac.cn>
Cc: tiwai@suse.com, perex@perex.cz, joe@perches.com, jgg@ziepe.ca,
	chao@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: sb: Remove extra brackets
Date: Fri, 12 Mar 2021 14:14:50 +0100	[thread overview]
Message-ID: <s5heegktsxh.wl-tiwai@suse.de> (raw)
In-Reply-To: <20210312093625.65650-1-vulab@iscas.ac.cn>

On Fri, 12 Mar 2021 10:36:25 +0100,
Xu Wang wrote:
> 
> Remove extra brackets.
> 
> Signed-off-by: Xu Wang <vulab@iscas.ac.cn>

Thanks for the patch.  But this kind of change alone makes little
benefit, as it doesn't improve the readability significantly.
So I'd take such a change only if it's really needed, e.g. if it's a
preliminary work for the further real fixes.


Takashi


> ---
>  sound/isa/sb/sb16_csp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c
> index 8635a2b6b36b..2c292bf0f5ae 100644
> --- a/sound/isa/sb/sb16_csp.c
> +++ b/sound/isa/sb/sb16_csp.c
> @@ -769,7 +769,7 @@ static int snd_sb_csp_autoload(struct snd_sb_csp * p, snd_pcm_format_t pcm_sfmt,
>  
>  			p->running = 0;				/* clear autoloaded flag */
>  			p->mode = 0;
> -			return (err);
> +			return err;
>  		} else {
>  			p->running = SNDRV_SB_CSP_ST_AUTO;	/* set autoloaded flag */
>  			p->acc_width = SNDRV_SB_CSP_SAMPLE_16BIT;	/* only 16 bit data */
> -- 
> 2.17.1
> 

      reply	other threads:[~2021-03-12 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12  9:36 Xu Wang
2021-03-12 13:14 ` Takashi Iwai [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=s5heegktsxh.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=chao@kernel.org \
    --cc=jgg@ziepe.ca \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    --cc=vulab@iscas.ac.cn \
    /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

all inboxes | Powered by JetHome®