Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp634712ybj; Thu, 7 May 2020 04:10:31 -0700 (PDT) X-Google-Smtp-Source: APiQypIe/ISOThsjnz68pLeqBAzT/CbnyexytzKPzWHHOyvqdCgbsYHPQRIYzTXr4sCoU8PGQIFz X-Received: by 2002:aa7:cc03:: with SMTP id q3mr11585281edt.131.1588849831349; Thu, 07 May 2020 04:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588849831; cv=none; d=google.com; s=arc-20160816; b=GoS270N5pZVicCrMNz5TsJrUGeXvt/dZWIDfBCbY9Rc5lkPIyHsfIHFwbI+vHFTV9O 09M6ouQxtVJGZgECvxf42urWAsLukVoO4xaZZzTElXAeOSBp2DrqYFV7yVxUljTsLMvx WQZs6WGItszAooWtQtWpo4eP72U1v22tHsoTST3mgQw5rMiyjwDxxPJ8P5hF6KZm7NYG W++rTIW37dfHUVbI9vz7vlolpxzZwrwOucLIBxINkbYLjoXmVQvkiBQtu6MNf/WZ7BGc nFW3nKAlj6M2uV7qLbSCKIevaIBzZn+SzGWEPrOXIIfdNuwArXCskQ2UFo+AhVtihan1 jhrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=EkpY3anANeifWKZbK0qTzGi8qlQLtEmSShDQmHRkBuw=; b=FDSNEwMEfIO9CRc1RocbB3CTbwf9MJ2Y/4WmI3HOCjtieMCP5nPZACXbnTNS32vd9B 1kdMsjogOVQaslb1uyK4FplJwJu8Rilz3HxrC4GCfhq9RgHU9+EFhvstZGSN1/aMJSn/ 4d3yF+tGPuDFnIlHgfXiezh8CrveOUaNSnIYwi5QFXrX79TzD6GrDXO0BYr8QLneCjm2 PxcBgavqgX5NH1oG+MP5RSqvACdUWsAB/6CUmK+rF+9b5LaxG60J7TtYZlG0SE5z+SMo DbtLiyjmcfiCmO9gNR0LLv004hklRlNBbKbBCiXKkOi4DSoMkAVr3eRRQO+bdd5EBh5x yMVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si1189596edw.220.2020.05.07.04.09.55; Thu, 07 May 2020 04:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgEGLI3 (ORCPT + 99 others); Thu, 7 May 2020 07:08:29 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:49834 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725910AbgEGLI3 (ORCPT ); Thu, 7 May 2020 07:08:29 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 706F79169ECFE8040AF6; Thu, 7 May 2020 19:08:27 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Thu, 7 May 2020 19:08:21 +0800 From: Jason Yan To: , , , , , , CC: Jason Yan Subject: [PATCH] b43: remove dead function b43_rssinoise_postprocess() Date: Thu, 7 May 2020 19:07:41 +0800 Message-ID: <20200507110741.37757-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This function is dead for more than 10 years. Remove it. Signed-off-by: Jason Yan --- drivers/net/wireless/broadcom/b43/xmit.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/net/wireless/broadcom/b43/xmit.c b/drivers/net/wireless/broadcom/b43/xmit.c index 058745219516..55babc6d1091 100644 --- a/drivers/net/wireless/broadcom/b43/xmit.c +++ b/drivers/net/wireless/broadcom/b43/xmit.c @@ -629,19 +629,6 @@ static s8 b43_rssi_postprocess(struct b43_wldev *dev, return (s8) tmp; } -//TODO -#if 0 -static s8 b43_rssinoise_postprocess(struct b43_wldev *dev, u8 in_rssi) -{ - struct b43_phy *phy = &dev->phy; - s8 ret; - - ret = b43_rssi_postprocess(dev, in_rssi, 0, 1, 1); - - return ret; -} -#endif - void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr) { struct ieee80211_rx_status status; -- 2.21.1