Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp263761pxb; Wed, 14 Apr 2021 14:59:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHj+xrwLpeursD1WZrixhHce1204uyXmSMp2JE7Uc2lLOJ9mgH7KKpbcND3rVFe6iDgjFu X-Received: by 2002:a17:907:3e92:: with SMTP id hs18mr200708ejc.396.1618437574535; Wed, 14 Apr 2021 14:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618437574; cv=none; d=google.com; s=arc-20160816; b=ouR8qFktzhAG2PNQOcqgY5n9DAXrIdIf1yMN7J/2DUvJhmGitAzjigdiBr0u4ADzxn sd1o92A8lHFBCfn/F+f9lX44adWtPzSm8bzBaiM2M6z1SZL2IJKgPtG6o6HcOJIom/Lf X4YGAwkUa8vjss5gtnNd1XnI0049lqtzCVB5fWAPNb8vxYyhTTvIGXElh7ugJARTbpca eDxzWuDzSmm21N2jCn3XlOcC6HVTTs0hh/tJsrqhwGADt42uazSZ2sPbjsqweBctA1ey THpH28lHpiR2IfVFFSP9PKZ3H2GZWXZRCCgqCnZeLJB+AljLpiKaTFz0VoQl1ght/U4N OeTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=5omD/dgseUpzVeL3SsNU7g7PKE60/12UvOU34laQ4WE=; b=saND+qJCSVQNlgm43K2bhP2e9jeSB/Nv+rgrzQyghdWyn658UFnHKb8REnlwMevRo4 1nGiLkDvrM9Cg1Eb27rBTXgHKBivGYL3O3zdzEyuMasZYFFomQBgi5sXW+AcH/IhuX8f bw56DZEdyo80T+5g0SmRtxiHIq5Vl76l4bBxD5nK0sNmJS7G/+QLNQb6iTHzBrF6Lgmf Rluw9Y4wK6oNIul72g8WVBd8ZEXAQz/pvNZJQ3L+UfZuAIwYXn/skAKfyZTVVWt2qeJV JpN1sEg55Nn3rq7VcFcFXxQc3z6u2CIoT31nH6ADsAr028E44ohxZWH4cTQ299pY85Xc ViBg== 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 i10si642349edc.63.2021.04.14.14.58.19; Wed, 14 Apr 2021 14:59:34 -0700 (PDT) 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 S1349922AbhDNIc6 (ORCPT + 99 others); Wed, 14 Apr 2021 04:32:58 -0400 Received: from smtprelay0140.hostedemail.com ([216.40.44.140]:33196 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230373AbhDNIcx (ORCPT ); Wed, 14 Apr 2021 04:32:53 -0400 Received: from omf05.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id EA65B4F9CB8B; Wed, 14 Apr 2021 08:32:29 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA id 00C88B2798; Wed, 14 Apr 2021 08:32:28 +0000 (UTC) Message-ID: Subject: Re: [PATCH 12/19] staging: rtl8723bs: remove unnecessary bracks on DBG_871X removal sites From: Joe Perches To: Dan Carpenter , Fabio Aiuto Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Date: Wed, 14 Apr 2021 01:32:27 -0700 In-Reply-To: <20210413145245.GG6021@kadam> References: <35f5edf0f39b717b3de3ad7861cbaa5f4ba60576.1617802415.git.fabioaiuto83@gmail.com> <20210413145245.GG6021@kadam> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 00C88B2798 X-Spam-Status: No, score=0.10 X-Stat-Signature: xd3di5p38fnfpm3u6iu38r85oak485wx X-Rspamd-Server: rspamout04 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19OYrLfAlGdjVpbOKSYlKEKzknU7FRL29Q= X-HE-Tag: 1618389148-702812 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-04-13 at 17:52 +0300, Dan Carpenter wrote: > On Wed, Apr 07, 2021 at 03:49:36PM +0200, Fabio Aiuto wrote: > > @@ -2586,11 +2583,9 @@ static int rtw_dbg_port(struct net_device *dev, > > ? > > > > ? plist = get_next(plist); > > ? > > > > - if (extra_arg == psta->aid) { > > - for (j = 0; j < 16; j++) { > > + if (extra_arg == psta->aid) > > + for (j = 0; j < 16; j++) > > ? preorder_ctrl = &psta->recvreorder_ctrl[j]; > > - } > > - } > > I think Greg already applied this so no stress (don't bother fixing), > but you removed a bit too much on this one. Multi-line indents normally > get curly braces for readability. In other words: > > if (extra_arg == psta->aid) { > for (j = 0; j < 16; j++) > preorder_ctrl = &psta->recvreorder_ctrl[j]; > } > > regards, > dan carpenter >