Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp290432ybc; Fri, 15 Nov 2019 22:50:31 -0800 (PST) X-Google-Smtp-Source: APXvYqyVAWIhuQ3z9cRRA+mmNVJvq+w6kV1S/SuFjb00lp1cXruv7bhWWZo6Adhmmue1I0TywfPW X-Received: by 2002:a17:906:4cd2:: with SMTP id q18mr7207669ejt.319.1573887031787; Fri, 15 Nov 2019 22:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573887031; cv=none; d=google.com; s=arc-20160816; b=UQo857vMgJb8kb5j8W5cO9+6lFoOGIiaqF2vgSbnQJhx6RFvDiPhwAM39If60T/g5J JTgntMtj5kp4D6yhuqeoHtaUWXtVrPZuiqtdMs16AfSWRA/k/5DTQaaS/27Vn4T6qgcA FeVercV4R9MDvSo8ntH42ghXPDT/4/4qkcLiW84NDnSn05h1nUVMKNm5jO15goOZjs++ IpazBTsZwPgH3DoytDpzHg4z/i3XYW8YmqnzfDxSsE+AK+2UNNegwPbOdP+KsOxBDpi3 i0lHb62KtklM3WlVJ8hECvSNoz4BBg2VhFVTR6/fVTXD5pS2GlIX67+pmDWfAlUt/lnz VWkA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=ei6KDkx2m9/jSG/7BKqLYd3wOpnglOxJq71sBUtfaLg=; b=zA0UvJiNCSM8Odtptb/vY3La2jUWnPjHWzvFi8z8ZBOBHCzC3cSE/EPxgVBYSxEMNF X8NoTab5iAQqVre3McxhIpF49FRXphQ/4rJyUIW45QSPJUq7L/XrKK6qILfJHXjAtgc6 4L1efp+A0m0CBTx6uLB2zqEUquElJToZniuUIDuKDOQ7rAjP+38EiOcM7d1U7degA0Ii +HRblFVf4p8hSTf3HMikxROgtyO2hmwYm23/1U0cwENlwU57cZmDKzsV7oYXjltqDITv o7gLDEq3mjvGzNFS4rFQdjFh7n5GWx1Chh9B1pRYmazGLya9UAJ1tESb2fM4Uu/Ehox3 qceQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26si8498243edd.364.2019.11.15.22.50.06; Fri, 15 Nov 2019 22:50:31 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727006AbfKPGpw (ORCPT + 99 others); Sat, 16 Nov 2019 01:45:52 -0500 Received: from smtprelay0209.hostedemail.com ([216.40.44.209]:48953 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726814AbfKPGpw (ORCPT ); Sat, 16 Nov 2019 01:45:52 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 9DED6181D3417; Sat, 16 Nov 2019 06:45:49 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3870:3871:3874:4250:4321:4823:5007:6119:7576:7903:8957:10004:10400:10848:11026:11232:11658:11914:12043:12296:12297:12438:12555:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:21099:21627:21740:30054:30083:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: wall56_6cf4312ecd835 X-Filterd-Recvd-Size: 2631 Received: from XPS-9350.home (unknown [47.151.135.224]) (Authenticated sender: joe@perches.com) by omf10.hostedemail.com (Postfix) with ESMTPA; Sat, 16 Nov 2019 06:45:48 +0000 (UTC) Message-ID: <3fd995ebb9ec87b202942fa1f000755c2d3cc4cb.camel@perches.com> Subject: Re: [PATCH] staging: rtl8192u: fix indentation issue From: Joe Perches To: Colin King , Greg Kroah-Hartman , devel@driverdev.osuosl.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 15 Nov 2019 22:45:29 -0800 In-Reply-To: <20191114095430.132120-1-colin.king@canonical.com> References: <20191114095430.132120-1-colin.king@canonical.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 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 Thu, 2019-11-14 at 09:54 +0000, Colin King wrote: > From: Colin Ian King > > There is a block of statements that are indented > too deeply, remove the extraneous tabs. [] > diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.c b/drivers/staging/rtl8192u/r819xU_cmdpkt.c [] > @@ -169,19 +169,20 @@ static void cmdpkt_beacontimerinterrupt_819xusb(struct net_device *dev) > { > struct r8192_priv *priv = ieee80211_priv(dev); > u16 tx_rate; > - /* 87B have to S/W beacon for DTM encryption_cmn. */ > - if (priv->ieee80211->current_network.mode == IEEE_A || > - priv->ieee80211->current_network.mode == IEEE_N_5G || > - (priv->ieee80211->current_network.mode == IEEE_N_24G && > - (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { > - tx_rate = 60; > - DMESG("send beacon frame tx rate is 6Mbpm\n"); > - } else { > - tx_rate = 10; > - DMESG("send beacon frame tx rate is 1Mbpm\n"); > - } > > - rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */ > + /* 87B have to S/W beacon for DTM encryption_cmn. */ > + if (priv->ieee80211->current_network.mode == IEEE_A || > + priv->ieee80211->current_network.mode == IEEE_N_5G || > + (priv->ieee80211->current_network.mode == IEEE_N_24G && > + (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { > + tx_rate = 60; > + DMESG("send beacon frame tx rate is 6Mbpm\n"); > + } else { > + tx_rate = 10; > + DMESG("send beacon frame tx rate is 1Mbpm\n"); > + } > + > + rtl819xusb_beacon_tx(dev, tx_rate); /* HW Beacon */ This function might as well be deleted instead as rtl819xusb_beacon_tx is a noop function in drivers/staging/rtl8192u/r8192U_core.c void rtl819xusb_beacon_tx(struct net_device *dev, u16 tx_rate) { }