From patchwork Sat Dec 14 12:30:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rashika X-Patchwork-Id: 3348411 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C8371C0D4A for ; Sat, 14 Dec 2013 12:30:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00E6420770 for ; Sat, 14 Dec 2013 12:30:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C8C52076F for ; Sat, 14 Dec 2013 12:30:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753570Ab3LNMaf (ORCPT ); Sat, 14 Dec 2013 07:30:35 -0500 Received: from mail-pd0-f180.google.com ([209.85.192.180]:48286 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752169Ab3LNMae (ORCPT ); Sat, 14 Dec 2013 07:30:34 -0500 Received: by mail-pd0-f180.google.com with SMTP id q10so3532736pdj.25 for ; Sat, 14 Dec 2013 04:30:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=sQSSK4//CiaNAAGQ/Dk3Qcuc87orSNk7S25001kTtDA=; b=JdDHeoCKcQ+uh06kB6fzpevR5cRRXvXu1tdnWkGMI5FziW2GF6jKbF+vpw+hJgFD1U Yo+l3E5crDyhHPQQcT8Uqhh4kitpTYwvLHI5qNgTKaOClaCST1ImToZe8fSyP+AoXW5I swrl+hcYLgQzOveXtakBYHzB+BrbMlWe47aeA8D6pjYl0WzbHXk4qsKGihiAHD5pmW8b lM/p+ya2mposlcz5gAK0BX6x7baVRaQ4QSUGYvVxLMTjWjI3McCaNJ8WgO3QyM196okr WWTeLyUYJVJlv6xlfG1pKl8SEyIOe230gBBVEs11b2kDSfQoPZCuwuirX+hf9+S4OMim B6Pg== X-Received: by 10.66.7.68 with SMTP id h4mr9386008paa.0.1387024233618; Sat, 14 Dec 2013 04:30:33 -0800 (PST) Received: from rashika ([14.98.241.125]) by mx.google.com with ESMTPSA id gg10sm12004265pbc.46.2013.12.14.04.30.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 14 Dec 2013 04:30:32 -0800 (PST) Date: Sat, 14 Dec 2013 18:00:25 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Stanislaw Gruszka , "John W. Linville" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH v2 8/9] drivers: net: Mark functions as static in debug.c Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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.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 This patch marks the function il_clear_traffic_stats() in debug.c as static because they are not used outside this file. Thus, it also removes the following warnings in wireless/iwlegacy/debug.c: drivers/net/wireless/iwlegacy/debug.c:35:1: warning: no previous prototype for ‘il_clear_traffic_stats’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/net/wireless/iwlegacy/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/iwlegacy/debug.c b/drivers/net/wireless/iwlegacy/debug.c index eff2650..b7e03dd 100644 --- a/drivers/net/wireless/iwlegacy/debug.c +++ b/drivers/net/wireless/iwlegacy/debug.c @@ -31,7 +31,7 @@ #include "common.h" -void +static void il_clear_traffic_stats(struct il_priv *il) { memset(&il->tx_stats, 0, sizeof(struct traffic_stats));