Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2925009pxb; Tue, 13 Apr 2021 13:51:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynrhY739RUH0zo/fndlVNuaEvl1LGJQ5qdSKx8S4Qo/41vaYx8QMxvcwgj4awjGECHR/DN X-Received: by 2002:a17:906:f6c1:: with SMTP id jo1mr18537602ejb.262.1618347109767; Tue, 13 Apr 2021 13:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618347109; cv=none; d=google.com; s=arc-20160816; b=kCxWEzI9EH5a087HlRPsERHUwFB1UMiPO8A/J1+qZ0JmTPEZmbjZDr0QHAQTa4MtIa bo47tBRrb+8IYlaCnuOF+gZlTOkQTKRUbMu0b7otzjGipgjkzSmtlxkYlej+Z1Io6/xx Irqq2+TCEvhbj+6ro9pIbUpJ24CxFDCu+Fp6pe8MpD+XZDeK2iypf+1TmhDuShm8Y00t SIMNH1UGdGSFQ3UEIRaq548BBXCP/DhP/1jt1mq7/sFlGlMp/6k1f2ac8NwFpCTYRwiS LY7Tw216z9cXRzyIfnOa+Zx1c51VAmF/EfZ2eXlRcxcCJdMPkyN3sQ+9eY4PI/sxXHS7 PAbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XlmNGq/1+E4+j5kYmK7x5/m8LnmtU0Ndl1MhNnKYffw=; b=ILEaw4e5RQPLvYzAgyU0TmTixYku9SKau0P5wzT29UKu+yiJwe1ForxFCughQt1E2o xpCjSk8E1mcDGLXlEybk27AMGPm4qY5hFxeRn3vfDe6MPLG9m46QxTUKMyInJ08AaUtz Tlm0RlTmowbjZGU1R8HMM8boUktoxAgriOD6OapHE6HkfUy2e5hM16OnLw3M0FefhiRR 8nbq+0VCMb6SzFSTYhmjtDHvr3T/SPyk7wumQygrIZW29Cc+rURvC5A+PHwif7UoiXuD 1rPt3B9GL//FKN1gAAKinTjXT0vZ6QAfVCR8s61cPqQD1hK1Cu/QF4dZbuNcmDdfUzED vwyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BAlV+9aQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si10112393edd.56.2021.04.13.13.51.26; Tue, 13 Apr 2021 13:51:49 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BAlV+9aQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231797AbhDMOxX (ORCPT + 99 others); Tue, 13 Apr 2021 10:53:23 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:43868 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231300AbhDMOxW (ORCPT ); Tue, 13 Apr 2021 10:53:22 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 13DEnYa3036778; Tue, 13 Apr 2021 14:52:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=XlmNGq/1+E4+j5kYmK7x5/m8LnmtU0Ndl1MhNnKYffw=; b=BAlV+9aQn2uvlp+oY1x6eG6BdK8q5jawmxxEhaRqVG0LLkcOpVQPdMnhvG89CuxK4Pjj X6b7oatlzJiMcak5gExyMzQH+w5GVB2cVYMr3XFPpRXMZegJRIfybGn+0eL8WMIxWLqz YfSt9NLfEd+AVQSWrQ4erA7sugClm7ZvG9oUdFfj7tNnITWH6TMVtcqSeY/Zg5ZZp7z1 YCvT+YmCN6V+/zAitttIbP7CUsvxsNeQFsXFIRb0NNmM1KXYCiXpGS2sWFvE2Izw7HW7 yrRz7PtZL90yK5+cj5bl22yBektnLW8e7t4MFmOKsIjT1Al0YGjlIrwynQrjGhB/f7x3 Zw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 37u1hbffj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Apr 2021 14:52:53 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 13DEjeu8161362; Tue, 13 Apr 2021 14:52:52 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 37unwyvv2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Apr 2021 14:52:52 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 13DEqpq6014908; Tue, 13 Apr 2021 14:52:51 GMT Received: from kadam (/102.36.221.92) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 Apr 2021 07:52:51 -0700 Date: Tue, 13 Apr 2021 17:52:45 +0300 From: Dan Carpenter To: Fabio Aiuto Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/19] staging: rtl8723bs: remove unnecessary bracks on DBG_871X removal sites Message-ID: <20210413145245.GG6021@kadam> References: <35f5edf0f39b717b3de3ad7861cbaa5f4ba60576.1617802415.git.fabioaiuto83@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35f5edf0f39b717b3de3ad7861cbaa5f4ba60576.1617802415.git.fabioaiuto83@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-IMR: 1 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9953 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 mlxscore=0 malwarescore=0 adultscore=0 bulkscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104130106 X-Proofpoint-GUID: 5WBQ4qNszvuj1d5rr6ONVqtYsYaBpGu4 X-Proofpoint-ORIG-GUID: 5WBQ4qNszvuj1d5rr6ONVqtYsYaBpGu4 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9953 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 priorityscore=1501 clxscore=1015 adultscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104130106 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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