From patchwork Tue Jun 23 00:17:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6658481 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 9B0A8C05AC for ; Tue, 23 Jun 2015 00:18:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C5DE2058E for ; Tue, 23 Jun 2015 00:18:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D33692058C for ; Tue, 23 Jun 2015 00:18:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbbFWAS3 (ORCPT ); Mon, 22 Jun 2015 20:18:29 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36416 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752215AbbFWAS2 (ORCPT ); Mon, 22 Jun 2015 20:18:28 -0400 Received: by paceq1 with SMTP id eq1so119640619pac.3 for ; Mon, 22 Jun 2015 17:18:27 -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=0O9r1QoKOiV4joruE1C6IwdjXdYGbaT+ucn3WX9YgGc=; b=acyJIaGLgJX41ZcfGJjDmaz63DXJJWXMTBYdg+68XDsm+Z31XEEVIzpy0r1i2LQwcV /bfGsPcuOL02K77pZxrA50MVNj39aiZOI+a2pEgUhoyCFMbOzwsz2RwtO9G11SrBA8IJ /o6Z0TW3J/aoIbBVXrYv4am+Fjrg51Gvw+5Mg4Do/oAKtyLuMxOaSop24h1wT26DIQuQ aCQK116XBw+GCXrHyGQy9VTL1zAWdad80Z6YZqXg2cAT/UO0tFygDNhX2tIIn0Ydr3NR /+ihVX0GEez6n9b4wwb/jL5qaad7jmx9Mw4nxCbazzQ+xO/bVUvBu1NJtk4TtRI80/B7 ADJg== X-Received: by 10.66.155.197 with SMTP id vy5mr64443930pab.104.1435018707875; Mon, 22 Jun 2015 17:18:27 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by mx.google.com with ESMTPSA id ki3sm21095435pdb.74.2015.06.22.17.18.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 17:18:27 -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 2/4] staging: wilc1000: wilc_wfi_netdevice.c: remove unused codes Date: Tue, 23 Jun 2015 09:17:45 +0900 Message-Id: <1435018667-12507-2-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435018667-12507-1-git-send-email-chaehyun.lim@gmail.com> References: <1435018667-12507-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 Remove if statement that has no any codes. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wfi_netdevice.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c b/drivers/staging/wilc1000/wilc_wfi_netdevice.c index 478cd2b..d5facb4 100644 --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c @@ -906,9 +906,6 @@ int WILC_WFI_InitModule(void) priv[0] = netdev_priv(WILC_WFI_devs[0]); priv[1] = netdev_priv(WILC_WFI_devs[1]); - if (priv[1]->dev->ieee80211_ptr->wiphy->interface_modes && BIT(NL80211_IFTYPE_MONITOR)) { - - } priv[0]->bCfgScanning = false; priv[0]->u32RcvdChCount = 0;