From patchwork Mon Jun 22 04:08:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6653091 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1A0C39F3D1 for ; Mon, 22 Jun 2015 04:08:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F529205C4 for ; Mon, 22 Jun 2015 04:08:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBF5C205CB for ; Mon, 22 Jun 2015 04:08:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbbFVEIh (ORCPT ); Mon, 22 Jun 2015 00:08:37 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:34566 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbbFVEIg (ORCPT ); Mon, 22 Jun 2015 00:08:36 -0400 Received: by pabvl15 with SMTP id vl15so78923420pab.1 for ; Sun, 21 Jun 2015 21:08:36 -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=PeHT5+97kl85wYlseV7EPWN09vIpHje0Q4IensIC1jY=; b=poQTvSKIG1XDPjqxsxP/+0bUMJe+znKIAc9buGTsivBZRXxaTbaABwQk8X5DcBeGKf z6ZbEe8QId1K8RDOT0H14l7Hm70zowM1mzBiIvDOcBRZpVCUqXv0+79hdCZfr+TBP/eY wQlMIXTCwLZ8J4B5t4f0DD/qc6zoKpvkANmwV1IuzRzoe8VQeJTKOL7puFj1nsMGOjIb +sWWH0HWSsU7K1AhECd/JKRrmqwET+kWGksmIN0TTW39XWCntKUVsD0QfI2Y0Bd5SQ0v Pnwc6UULUrJVKPUhHheNY/N5ZFS+Vdm++HuQGRnR/Gax3uBdNl5GGDEogIoZPpqUQB5w 2sdQ== X-Received: by 10.68.105.195 with SMTP id go3mr55588234pbb.48.1434946115963; Sun, 21 Jun 2015 21:08:35 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by mx.google.com with ESMTPSA id om10sm18074140pbb.58.2015.06.21.21.08.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Jun 2015 21:08:35 -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 3/5] staging: wilc1000: wilc_wfi_netdevice.c: remove braces for single statement block Date: Mon, 22 Jun 2015 13:08:13 +0900 Message-Id: <1434946095-26157-3-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: braces {} are not necessary for single statement blocks Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wfi_netdevice.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c b/drivers/staging/wilc1000/wilc_wfi_netdevice.c index 9da7674..039e21f 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c @@ -931,10 +931,8 @@ int WILC_WFI_InitModule(void) /* ret = host_int_init(&priv[0]->hWILCWFIDrv); */ /*copy handle to the other driver*/ /* priv[1]->hWILCWFIDrv = priv[0]->hWILCWFIDrv; */ - if (ret) { + if (ret) PRINT_ER("Error Init Driver\n"); - } - out: if (ret)