Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1230020pxf; Fri, 12 Mar 2021 05:16:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQ+tTIPHKD8US8hohNg7bw335qnIX5EoHXRJ5d2QP+xEd4lRiGfi3gZlqdD2mmb1rRMciw X-Received: by 2002:aa7:d4ca:: with SMTP id t10mr13891599edr.388.1615554973875; Fri, 12 Mar 2021 05:16:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615554973; cv=none; d=google.com; s=arc-20160816; b=u5sTutTeKXH/vBOpyFWN5MVr6adiJiVBPpdJYMgD1FR6GBZHTu3DfEIYBqkqM4jMnM qFvwMAA6mdpnijt/uer8oyzwMazJcI3kdzbG08A39lb8MIQpbai1ikoO91l0NbKTW36q IogMYO+eIDK52oxbHuRTBvKgMdmthkHNiu0yhuyhwg6dERULcMNpOwBMFfZpIen4L80n O73mNKuamdHnXqleSwTEE8RO17EAqETir9eFYJ2ymUoPoq2ScxV8zuZcwZFCQl+uo/MW CW/hs/pueJrgeSz1mgy5wk57kpuHvrIlgS6m+MPZwS0a6r1pFUIsdi+oz+5ozv/nUylY pFIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=F8EKa3dxHg2lwD1F9JBPvf8cXjSwvHA3Uah9r8NjEGM=; b=E3xvUkx0pautOWOlMiXr0CB5YKHlXi+jfnGK8m+MMPLPV8+i6YQtCemYO2e471XzeB L+jAomuZtYbROG9CONrP2Gz15uOrmFhANzmW2T4I1gZaKDF/DJ2jRZjhai9iPFFbVxeg oaQSNf0az77v6wqIQJudOCwMvkly3mgD5+asK3R5PzAafgg2pGFP1F7P9PcVQRN7ob1T 8p6KJvsktrpPGWxaxQZc6aPQU/1bI8KyAcx0rT3FPIjQ1U5EAEx9zjlQsIRBPTA/U4Pr LZQ4seTs3VLQhE3Yx23qaYSkWBbwJ+XvvxqyNqaTTXrywG19EtdJgrfYpv2lOMJTVvar 7/3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si3805294ejx.652.2021.03.12.05.15.50; Fri, 12 Mar 2021 05:16:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231330AbhCLNOx (ORCPT + 99 others); Fri, 12 Mar 2021 08:14:53 -0500 Received: from mx2.suse.de ([195.135.220.15]:35000 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbhCLNOv (ORCPT ); Fri, 12 Mar 2021 08:14:51 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7A76BB0D7; Fri, 12 Mar 2021 13:14:50 +0000 (UTC) Date: Fri, 12 Mar 2021 14:14:50 +0100 Message-ID: From: Takashi Iwai To: Xu Wang 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 In-Reply-To: <20210312093625.65650-1-vulab@iscas.ac.cn> References: <20210312093625.65650-1-vulab@iscas.ac.cn> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Mar 2021 10:36:25 +0100, Xu Wang wrote: > > Remove extra brackets. > > Signed-off-by: Xu Wang 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 >