From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16BB2C3A5A4 for ; Fri, 30 Aug 2019 11:52:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E616121721 for ; Fri, 30 Aug 2019 11:52:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727620AbfH3Lww (ORCPT ); Fri, 30 Aug 2019 07:52:52 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:22086 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726969AbfH3Lwv (ORCPT ); Fri, 30 Aug 2019 07:52:51 -0400 X-UUID: b30929717e024f3081883b6a934087ec-20190830 X-UUID: b30929717e024f3081883b6a934087ec-20190830 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 76994568; Fri, 30 Aug 2019 19:52:48 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 30 Aug 2019 19:52:45 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 30 Aug 2019 19:52:45 +0800 Message-ID: <1567165961.8079.3.camel@mtkswgap22> Subject: Re: [PATCH] mt76: mt7615: move mt7615 sta utilities in pci.c From: Ryder Lee To: Lorenzo Bianconi CC: , , , Date: Fri, 30 Aug 2019 19:52:41 +0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2019-08-29 at 10:57 +0200, Lorenzo Bianconi wrote: > Move mt7615_sta_add, mt7615_sta_assoc, mt7615_sta_ps and mt7615_sta_remove > utility routines in pci.c and make them static since they are only used to > initialize mt76_driver_ops callbacks > > Signed-off-by: Lorenzo Bianconi > --- > .../net/wireless/mediatek/mt76/mt7615/mac.c | 4 -- > .../net/wireless/mediatek/mt76/mt7615/main.c | 40 --------------- > .../wireless/mediatek/mt76/mt7615/mt7615.h | 7 --- > .../net/wireless/mediatek/mt76/mt7615/pci.c | 49 +++++++++++++++++++ > 4 files changed, 49 insertions(+), 51 deletions(-) Just to note that we might have other interface shares with the same utility routines in upcoming days. Ryder