From patchwork Mon Jun 22 04:08:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6653111 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 15956C05AC for ; Mon, 22 Jun 2015 04:08:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 77834205CB for ; Mon, 22 Jun 2015 04:08:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C77BE205C4 for ; Mon, 22 Jun 2015 04:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751420AbbFVEIn (ORCPT ); Mon, 22 Jun 2015 00:08:43 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:36212 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751555AbbFVEIm (ORCPT ); Mon, 22 Jun 2015 00:08:42 -0400 Received: by pdcu2 with SMTP id u2so3524567pdc.3 for ; Sun, 21 Jun 2015 21:08:41 -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=QVrAFbQMI3HBwbiXpHKwBLEekXTB5io+Fn2GHalKh/I=; b=RbtN6kV0AdGa2gxmEYcZgucSDoEepgo7znVglBllmJg58iJ6340pFPFgNRE6RZq9xV EU+/7pMQFnDa4pWPUH89Prl0/cbojSaeLXjIiMHOpqbm/nxlT5EsB7h8dLPPkCzDFloA t3Nl5xa7b5BdseqwbwC/e3AEmKxsv5w0uGFDpyvp0e9/KsNoCXzBAfl7VWXqYV9qDAIk y9564r0K5Gm+Z8ZS/OFUtxZQrK5Wc5dLPSt1aNwCSVpTBX8nlkrzCNhBBSGJi6Ay6b4Y kGF1kRNT6aeDuc0F/HQuPgJ0TUIWWl16I8LxSwVxR9hmffDRkSBnEBU5a56SPfoQfi9u UIZw== X-Received: by 10.70.95.198 with SMTP id dm6mr54708994pdb.53.1434946121591; Sun, 21 Jun 2015 21:08:41 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by mx.google.com with ESMTPSA id om10sm18074140pbb.58.2015.06.21.21.08.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Jun 2015 21:08:41 -0700 (PDT) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, dean.lee@atmel.com, chris.park@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 5/5] staging: wilc1000: wilc_wfi_netdevice.c: move statement after declarations Date: Mon, 22 Jun 2015 13:08:15 +0900 Message-Id: <1434946095-26157-5-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434946095-26157-1-git-send-email-chaehyun.lim@gmail.com> References: <1434946095-26157-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=-8.2 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 Fix checkpatch warning found by checkpatch.pl WARNING: Missing a blank line after declarations Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wfi_netdevice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c b/drivers/staging/wilc1000/wilc_wfi_netdevice.c index 31a796b..170ca65 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c @@ -886,9 +886,10 @@ int WILC_WFI_InitModule(void) int result, i, ret = -ENOMEM; struct WILC_WFI_priv *priv[2], *netpriv; struct wireless_dev *wdev; - WILC_WFI_Interrupt = use_napi ? WILC_WFI_NapiInterrupt : WILC_WFI_RegularInterrupt; char buf[IFNAMSIZ]; + WILC_WFI_Interrupt = use_napi ? WILC_WFI_NapiInterrupt : WILC_WFI_RegularInterrupt; + for (i = 0; i < 2; i++) { /* Allocate the net devices */