Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1689233imm; Fri, 8 Jun 2018 23:07:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKPoqH+e18BPq6pi+sUlA3E1KCTPQPJUy06LLGtvg1CoxMG5c6SUuQ3bgWrGaC+AcCY3BBP X-Received: by 2002:a62:ca99:: with SMTP id y25-v6mr8896239pfk.187.1528524472325; Fri, 08 Jun 2018 23:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528524472; cv=none; d=google.com; s=arc-20160816; b=NN7G1xPw86MfLaJwrO8Fx/MnqxghXgTXcjdlC7+MIPCgx49O/4Oaz4q7JBjf1aGfEQ 3NGhL4ImI01EUELaXrctixg5gbX9G/cuaNutKrJXgSE9++4OjBC7jTKno9ycxz8tJsNH AM1XcdmJ6/OJw/JC0QD8dHNgHPsjPdcWuQwKYlYkffNMD3WJ7xbpGRFKPeFUoLSRwIjh bISMo7hjyoa2ISdOXz80L5/sjUX4+Jx0via9z4mfPKSHRKN9RftzEJC4TEE1pYM3kgRc hSEjn8FZJ4Y3ikuyib3iVmw6VMWtzpwILjvksJYmIect2iFSfeLe7SAjlPDJoSxDYi7v b99g== 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:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=m+lTtu5pCyGVqhSoKBSwj77hf+J2TDR1gJ5l7A/CQEw=; b=QPXuQWY2nIfWF+L1ULaEiBd+h2bnThcPmHiMBvw46lqe7bAL2eGsg6K3Ut1VUdRDOg I6VbQc7mRGHAqjkZYN6TJ49goKEitr37gA0o8x8/833D1cMHWlYXfEZ/Lcll5AOKoaAa 8x4dFbaydvrAuMX2lrPM9MIiCGHlk644jmopYIejUGtFyyIHsH7kc9DxPnR+LlB5BM8c GBlAHSe+MdgA7lAZ+pbYd1JiGCCC5t36KSEJsD5Gc1AqvX8N2EooIMXJmwZ+m10oLP6Z 4V14Kzx08XH879j2LuWeFqW1UgvQAU2K6ldnHkt3kEB/MjFBgdzK6LGvKvNWZO6hd/Oh MjwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n+Q1brBE; 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 34-v6si56641842plc.346.2018.06.08.23.07.37; Fri, 08 Jun 2018 23:07:52 -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=n+Q1brBE; 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 S1752774AbeFIGF5 (ORCPT + 99 others); Sat, 9 Jun 2018 02:05:57 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:32989 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbeFIGF4 (ORCPT ); Sat, 9 Jun 2018 02:05:56 -0400 Received: by mail-pl0-f66.google.com with SMTP id n10-v6so9435017plp.0; Fri, 08 Jun 2018 23:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=m+lTtu5pCyGVqhSoKBSwj77hf+J2TDR1gJ5l7A/CQEw=; b=n+Q1brBEo8Wf7vgyNK5BkK264ybPAdO8PMnnUyYAqRM82TRzh2TjYghbfkJMkNTIOG PlADMJmrlj70hpZmBwXYLpL/TgNeKcTua/ustWHUYkLoKtsINTMqcvXvKi67Mu/dznT7 NQfWSybSwUrSgUg3+u0EgdQOwp/KFFLWoVgmYP++QqitNIHbiwMgpsB18TOywu76rp8a OiH0K9jJqkUU4nPuslCo2SQv3H7JJwZyDidVNILqcmPXq5ivE6RBaRl0nrZgnGgJe1ne ndlS8okllGjWxE++ObvTxYZVjN0QR/mFZEWyaduX4YbioSp688pSsQ/EVCquumIh6Kbt 6dtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=m+lTtu5pCyGVqhSoKBSwj77hf+J2TDR1gJ5l7A/CQEw=; b=X/4+U0QrZmhyF8uUpEmzNLGSugPnL1kY3XeJdbgCKmYc6nd7T5IAUoy1HmWgxhVpro wqi3e5KiOwPgQS5GUb0eititebbHW6joTTfHrVPocnAHGDXBnc+P9eaMkSeHmxmraU5L WruKMzfrPeO3XnWO9DClRHdczagzAA1yIhkMM1kD6a+6ufsHC3rMd/p53qa8QMKhl0TR Gsuf468Mvgok2sHT2mYQzeyezr8CSijZgJWEu8Y2G1EU3PBt9xDKTn/eCvwAKtNCIqgE HAGxn2zQgGvn+bWFwQOBu43yb7Dpisyb9XbK8IFYpg4/39r3/dPhYFqVo6roaJdoVhWL VFAg== X-Gm-Message-State: APt69E00utDM4AiX6qNdCfElOecCMfu4bBFewswsXBKtJ/WFfaPgnGWC DEok5rSRZo3MAR/EpPvIMu0= X-Received: by 2002:a17:902:900a:: with SMTP id a10-v6mr9598160plp.41.1528524355605; Fri, 08 Jun 2018 23:05:55 -0700 (PDT) Received: from os-virtualbox.localnet ([220.149.255.57]) by smtp.gmail.com with ESMTPSA id 131-v6sm104075239pfa.128.2018.06.08.23.05.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 23:05:54 -0700 (PDT) From: thtlwlsmsgkfla@gmail.com To: gregkh@linuxfoundation.org Cc: davem@davemloft.net, colin.king@canonical.com, johannes.berg@intel.com, Linyu.Yuan@alcatel-sbell.com.cn, keescook@chromium.org, tvboxspy@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH 1/2] staging: rtl8192e: remove brace for single statement Date: Sat, 09 Jun 2018 15:05:56 +0900 Message-ID: <1986308.HpuS17FQ0J@os-virtualbox> User-Agent: KMail/5.1.3 (Linux/4.13.0-36-generic; KDE/5.18.0; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * fix checkpatch.pl warning: WARNING: braces { are not necessary for single statement blocks Signed-off-by: Hyunil Kim --- drivers/staging/rtl8192e/rtllib_softmac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 919231f..d172e87 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1355,9 +1355,8 @@ rtllib_association_req(struct rtllib_network *beacon, rtllib_WMM_Info(ieee, &tag); } - if (wps_ie_len && ieee->wps_ie) { + if (wps_ie_len && ieee->wps_ie) skb_put_data(skb, ieee->wps_ie, wps_ie_len); - } if (turbo_info_len) { tag = skb_put(skb, turbo_info_len); -- 2.7.4