From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 734AE3B2A4 for ; Mon, 21 Oct 2019 18:14:57 -0400 (EDT) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2019 15:14:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,325,1566889200"; d="scan'208";a="209532870" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 21 Oct 2019 15:14:54 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1iMfwz-0003qt-Mn; Tue, 22 Oct 2019 06:14:53 +0800 Date: Tue, 22 Oct 2019 06:14:33 +0800 From: kbuild test robot To: Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= Cc: kbuild-all@lists.01.org, Johannes Berg , linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, ath10k@lists.infradead.org, John Crispin , Lorenzo Bianconi , Felix Fietkau , Kan Yan , Rajkumar Manoharan , Kevin Hayes Message-ID: <20191021221433.5nnny72acwx7lr4a@4978f4969bb8> References: <157148503639.2989444.8337290298332344733.stgit@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <157148503639.2989444.8337290298332344733.stgit@toke.dk> X-Patchwork-Hint: ignore User-Agent: NeoMutt/20170113 (1.7.2) Subject: [Make-wifi-fast] [RFC PATCH] mac80211: ieee80211_calc_rx_airtime() can be static X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 22:14:57 -0000 Fixes: 427959c8f966 ("mac80211: Import airtime calculation code from mt76") Signed-off-by: kbuild test robot --- airtime.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/mac80211/airtime.c b/net/mac80211/airtime.c index c8d0cee613660..3f13640643e34 100644 --- a/net/mac80211/airtime.c +++ b/net/mac80211/airtime.c @@ -208,9 +208,9 @@ ieee80211_calc_legacy_rate_duration(const struct ieee80211_rate *rate, return duration; } -u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw, - struct ieee80211_rx_status *status, - int len) +static u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw, + struct ieee80211_rx_status *status, + int len) { struct ieee80211_supported_band *sband; const struct ieee80211_rate *rate; @@ -279,9 +279,9 @@ u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw, return duration; } -u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw, - struct ieee80211_tx_rate *rate, - u8 band, int len) +static u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw, + struct ieee80211_tx_rate *rate, + u8 band, int len) { struct ieee80211_rx_status stat = { .band = band,