Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1411840ybh; Fri, 13 Mar 2020 00:28:28 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu7P35WcXQBkQRjlbndDRb9yNMpW7dB7kQT7nWg94Aw25ZbIUjOXtfUnSv8XK46D9thRQHi X-Received: by 2002:a54:4890:: with SMTP id r16mr5907660oic.121.1584084508844; Fri, 13 Mar 2020 00:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584084508; cv=none; d=google.com; s=arc-20160816; b=CJFCdEvDJf9GO77br08yvg1rWZMFVNIekKXMzVtAaOmUJSTbX15GQGc66QjjFWmNCq sWNvID+bX4ayGxH5D0lR2SSAC1TtyXZPzN/FL8y4FDuXHnw54Pj9lha4UiUqEgaVOEg4 xGrd/fgiaxLgwR82zbYQ8R2APbhGN2ctYygF8muexz6KdWZTNitlYbOSZzbytp3VJr7a PeE32x24qWB4d+SDIrdtKNN/vQ1KzUGyP/nGg1uHEumhb76uSkc26maADrCyvXF59MHH hDcu3KQmqppgc9Txl9SksjMpswdH7r1DUoeoThM1m3x1GrZrTxVHnQPFI88kwNJXPXCc JW3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=wvA6h/ADCFmpO4/R58WqwTsyj0FZP41tEV3Px7U6ciw=; b=E5dRdA4+gI1/AraHpLRLsfpn/QbeZ1lCUbRICOn2gRyj9IIYOcoMETCR+uTaN4EljV m7/g1bm4h9WTkU6tyQ9w0ZILxoreR71aw0TnsKUc1Mo5fGPH6/AmR7BVpSlvoniD1rgo AD5KDII4mQJg8SGsdCgy/lk/ZZ97HEXSc65TKZCAKBatJDFj31D7+2VTwFeZ7m4U/WKX gqNXyH7ON8BnfWGDthsnADSShGx91V8EXFIM6VzOArzUxRcfGJAOB5Jsoxui0hWR7z2W Hm1xrzRb3p99owHg9d0KZT6XxVuWeyfDRQb7YXzF8JsbwYEae3E/8Zob7NlGSE7lVNHk ji7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uyAkfSNH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si4279407oif.149.2020.03.13.00.28.15; Fri, 13 Mar 2020 00:28:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uyAkfSNH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgCMH2A (ORCPT + 99 others); Fri, 13 Mar 2020 03:28:00 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46512 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726216AbgCMH2A (ORCPT ); Fri, 13 Mar 2020 03:28:00 -0400 Received: by mail-pg1-f194.google.com with SMTP id y30so4454742pga.13 for ; Fri, 13 Mar 2020 00:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=wvA6h/ADCFmpO4/R58WqwTsyj0FZP41tEV3Px7U6ciw=; b=uyAkfSNHKkYjA+Ao2n9McRVmNL+oA0W06DzsicIwPy13UVOQPoRnEzPB+fYWQSNqFn hCer85T8KVYhhvKNgm1C/ud+9IAESjZqV5vQsDXMhfVQk1yfcUHyCzSL9GFwp5E5Xd5V N9sFhuifSO64xuoviHXsM0XziCYpGNEUo+J2mRkkilx01rKW0CzAvFjQyiBinqC1HGFy s6fAKlsFK2VbazbwSO3ILM+UNEaniNWnRgxKLFDIinTMjbeSHAqS8L7EUx97e9yTURaj RA8oQXMWWsKlISGqkRWzaQcnHQfRnY/LpxomBc21yeCxpROugy2MM/R9fD3TB+CafaMQ dx+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=wvA6h/ADCFmpO4/R58WqwTsyj0FZP41tEV3Px7U6ciw=; b=Ki54GVXQUvzIv4t2r92Fn+eY7F3opMIT3gEBgrr6ZCCHkW3LztMyw04d9mb06KdTJv syhtyi1+BdAk7ryVvi7Zp0Ao69N8XjeZTKC6v9jSiFiixDoW98MWhTNUCa49Rmeo/Pq8 Z87+IaQB3EkpRguWOQL7OTsYASO9tWUVOimp8n2ARAUGfhSGyZCBTSQIyMluHCmlCikX 42Ojk4sqhNA5nVLgcOzaCZ/C3p+3n9h59X9iVPC1q87faIqNU5b9sdFaJ6SBzJ728peG xiG80X/NLwvEZ01rDG/0w3Hwq4YMq77+REHhHdc22JCV9ugudewzN/ZFqsgwx89XDtsM B1xw== X-Gm-Message-State: ANhLgQ08pV1TJgPMhOBk/cMcDjZNCQfIJpGMgcF2/QnKq8SuD5gQNGJq B2q4XapCTRl6zD/rPLwNN6A= X-Received: by 2002:a62:1a83:: with SMTP id a125mr12496744pfa.78.1584084478438; Fri, 13 Mar 2020 00:27:58 -0700 (PDT) Received: from Shreeya-Patel ([1.23.249.228]) by smtp.googlemail.com with ESMTPSA id y7sm17061880pfq.159.2020.03.13.00.27.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Mar 2020 00:27:57 -0700 (PDT) Message-ID: <40e15d511cc2fbb4a13bb7df5a4f23ea942ab3a6.camel@gmail.com> Subject: Re: [Outreachy kernel] [PATCH] Staging: rtl8723bs: sdio_halinit: Remove unnecessary conditions From: Shreeya Patel To: Dan Carpenter , Joe Perches Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, sbrivio@redhat.com, daniel.baluta@gmail.com, nramas@linux.microsoft.com, hverkuil@xs4all.nl, Larry.Finger@lwfinger.net Date: Fri, 13 Mar 2020 12:57:50 +0530 In-Reply-To: <20200313072021.GQ11561@kadam> References: <20200311133811.2246-1-shreeya.patel23498@gmail.com> <20200313072021.GQ11561@kadam> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-03-13 at 10:20 +0300, Dan Carpenter wrote: > On Wed, Mar 11, 2020 at 07:08:11PM +0530, Shreeya Patel wrote: > > diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c > > b/drivers/staging/rtl8723bs/hal/sdio_halinit.c > > index e813382e78a6..643592b0bd38 100644 > > --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c > > +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c > > @@ -551,18 +551,11 @@ static void HalRxAggr8723BSdio(struct adapter > > *padapter) > > > > pregistrypriv = &padapter->registrypriv; > > > > - if (pregistrypriv->wifi_spec) { > > - /* 2010.04.27 hpfan */ > > - /* Adjust RxAggrTimeout to close to zero disable > > RxAggr, suggested by designer */ > > - /* Timeout value is calculated by 34 / (2^n) */ > > - valueDMATimeout = 0x06; > > - valueDMAPageCount = 0x06; > > - } else { > > - /* 20130530, Isaac@SD1 suggest 3 kinds of parameter */ > > - /* TX/RX Balance */ > > - valueDMATimeout = 0x06; > > - valueDMAPageCount = 0x06; > > - } > > + /* 2010.04.27 hpfan */ > > Delete these sorts of comments where it's just a name of someone and > a time stamp when they wrote it. We don't know how to contact > "hpfan" > so it's useless. > Thanks Joe and Dan for your explanation. I will remove the comments and send the patch again. > regards, > dan carpenter > >