Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp250566pxj; Fri, 28 May 2021 03:09:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7cT6V4wfFaPKTwRgMv9RsNLT/xv6W3SIZQFCz/W0O0bI9ryDqkPhfcd1HHjT2qMHgU1DG X-Received: by 2002:a92:640d:: with SMTP id y13mr5788346ilb.158.1622196551751; Fri, 28 May 2021 03:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622196551; cv=none; d=google.com; s=arc-20160816; b=DIcgVQ3W9PxlbkvSdFMSNV/7uQ9h9znI75bEI2aiJMjFJ9TRvYeFxEFm7vtycVNyJt XEFrPbCmLs+pbb24hLdc1o9lhJpylAJ4sHWYe55yDgm/yNl2L5g1x8E8esvDHW9e2z+i nbGZCPgJ1FQw72sSc0bQeNNm9Asqk8k9mOcG0FMzhIgBfJYcm1vDfU13UdQ+8wuKg20Y b2mEv4GxemlbshRn+RbFQIGCitbJy7ht6epyq56gK06bzVL+VjU5VfYjW8G3NMhCI9r+ 9Nv9so+foYJ2AsFeFhfxpxEUgGBb851q1jmzEteZ9HfMbW8BijzuOPXq8gz1DRdfqcgP 1pXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=rON+k+m+FZ64mEsIcL5TqhsGfLK9v2P2lR1A3zvvcmw=; b=DfknFSvlzmiHuTUHBM/0lUY9LdF+u2deXEF4br1g3xO3TE4s26Rfo0c8nWB//0TVKO L3Po6NpvnsJeqT82j1LIUcFBSH3vyhrploe7VuIYm37tBT3l/nTT61LKvzUvza4mVqFr 3ttS0IsIRdp2q86z/6dlZ9DkYSxaXtSVUzRUvEG4bQQXGX4gyzqmgkMy8ZUSaO4GycXL HUTtxYNYaTg+Ze8GKhz/hTO2Rt9Hg3BiYzjra48/e/Ufng2BEptnWABN3wJanugz2hks YhfU1/g3FbKneNNHGOyCO01YJ2Xnpf8bws9zfH+9q5+que8YQdYoxnI5LP3dAoq+D468 /RMA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si6155336jat.68.2021.05.28.03.08.57; Fri, 28 May 2021 03:09:11 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236093AbhE1KIw (ORCPT + 99 others); Fri, 28 May 2021 06:08:52 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2082 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235361AbhE1KIu (ORCPT ); Fri, 28 May 2021 06:08:50 -0400 Received: from dggeml715-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Fs0bx4r3BzWns9; Fri, 28 May 2021 18:02:37 +0800 (CST) Received: from dggpeml500023.china.huawei.com (7.185.36.114) by dggeml715-chm.china.huawei.com (10.3.17.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 28 May 2021 18:07:13 +0800 Received: from localhost.localdomain (10.69.192.56) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 28 May 2021 18:07:13 +0800 From: Shaokun Zhang To: CC: Shaokun Zhang , Johannes Berg Subject: [PATCH] mac80211: remove the repeated declaration Date: Fri, 28 May 2021 18:07:04 +0800 Message-ID: <1622196424-62403-1-git-send-email-zhangshaokun@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Function 'ieee80211_sta_set_rx_nss' is declared twice, so remove the repeated declaration. Cc: Johannes Berg Signed-off-by: Shaokun Zhang --- net/mac80211/ieee80211_i.h | 1 - 1 file changed, 1 deletion(-) diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 8fcbaa1eedf3..02e2fbd4c9ce 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1892,7 +1892,6 @@ void ieee80211_sta_set_rx_nss(struct sta_info *sta); enum ieee80211_sta_rx_bandwidth ieee80211_chan_width_to_rx_bw(enum nl80211_chan_width width); enum nl80211_chan_width ieee80211_sta_cap_chan_bw(struct sta_info *sta); -void ieee80211_sta_set_rx_nss(struct sta_info *sta); void ieee80211_process_mu_groups(struct ieee80211_sub_if_data *sdata, struct ieee80211_mgmt *mgmt); u32 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata, -- 2.7.4