From patchwork Mon Apr 4 11:04:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8739931 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6EFB1C0553 for ; Mon, 4 Apr 2016 11:05:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7699720212 for ; Mon, 4 Apr 2016 11:05:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 91C1320204 for ; Mon, 4 Apr 2016 11:05:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753957AbcDDLFO (ORCPT ); Mon, 4 Apr 2016 07:05:14 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:34116 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753568AbcDDLFL (ORCPT ); Mon, 4 Apr 2016 07:05:11 -0400 Received: by mail-pa0-f68.google.com with SMTP id hb4so4685892pac.1 for ; Mon, 04 Apr 2016 04:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gxp+JZjI308K6QRMkM21O+TN2cDwfowDaa05BWjhacg=; b=JYylSuaW+g6nbAPDjnZu3SDLuPQTOmipz5Ybs3BTyy15FJxAkmifw6zLSFiLSb/9pa wGUsztKMEkxa3oU3mofQMtiiOppsOWdpAbPwPjykC5N4RqsRsTC8t0DqdUJLBrMVYqls LMGy4xvzcVs3/sXilx+6UTIVwsPvSOd+2QOgAVD/GImp65aIor+ku74/LgXBSCxsJCOD /oEOhl77cuQMhW5U4+Vwq4nnViI06XgHNClLSxz/zPDrs6SSLATPNfdPY71ditcMsP/7 cPQYZBpftdCpO3F1Pko1/AkqFSLp+EL5s+GcZJ2H8K3kL3RjzvVFbsqzIbQS4/BLMsze mEjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gxp+JZjI308K6QRMkM21O+TN2cDwfowDaa05BWjhacg=; b=AkipOCpnVfilg/aHYAUSk3ojJcK28gS62eOCTmjtfxz+e5X1nwGG8b/HiPeN0o8r8n /KiDxFJQNpamJdl84qeuwJRS489+yRfoLG8L+fY/SYbCV+o6cpKxCewHFIuGSCuUmlLu +HMqMfR+/FJzGK/QksLKsH93pjBMMKpvWuQHLYfleVeMGb+P1mGAyjnP0yIVnpe9BtVu QOAGVUBFORoH63/A4KtVgl8ifm66L64CNNt0W4/OlQfNtpxOF70No+PYsls/tADZow2w Bj6YB6Fbn0mVhVcAXS1g/gzHRkqgliCq/G39Pw+dRbYjkgoYZdv3Nox2NSe3hT0cAsji 9aKQ== X-Gm-Message-State: AD7BkJLCvXd828N8KEXRjEd/OTEnlW6GmrFJrut1qh0y6Qh4g+MHYxAxJO6lq2rPUH5jCg== X-Received: by 10.67.6.36 with SMTP id cr4mr7697592pad.146.1459767910715; Mon, 04 Apr 2016 04:05:10 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id 85sm38721469pfl.18.2016.04.04.04.05.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 04:05:10 -0700 (PDT) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 3/8] staging: wilc1000: remove block scope braces and fix indentation Date: Mon, 4 Apr 2016 20:04:45 +0900 Message-Id: <1459767890-9709-3-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.8.0 In-Reply-To: <1459767890-9709-1-git-send-email-chaehyun.lim@gmail.com> References: <1459767890-9709-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes unnecessary block scope braces and fix indentation of the codes. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index aa95eda..e978208 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -783,13 +783,11 @@ static s32 Handle_Scan(struct wilc_vif *vif, u32WidsCount++; } - { - strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_PROBE; - strWIDList[u32WidsCount].type = WID_BIN_DATA; - strWIDList[u32WidsCount].val = pstrHostIFscanAttr->ies; - strWIDList[u32WidsCount].size = pstrHostIFscanAttr->ies_len; - u32WidsCount++; - } + strWIDList[u32WidsCount].id = WID_INFO_ELEMENT_PROBE; + strWIDList[u32WidsCount].type = WID_BIN_DATA; + strWIDList[u32WidsCount].val = pstrHostIFscanAttr->ies; + strWIDList[u32WidsCount].size = pstrHostIFscanAttr->ies_len; + u32WidsCount++; strWIDList[u32WidsCount].id = WID_SCAN_TYPE; strWIDList[u32WidsCount].type = WID_CHAR;