Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp621962ybl; Fri, 30 Aug 2019 04:53:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBvGL5vcbyDEG8tsDY1g60uJr66QQgIm8sx0pCpbFvSOHUAaXq3rvZhfjpH7Rtj5Sj1cA7 X-Received: by 2002:aa7:96f3:: with SMTP id i19mr1511210pfq.32.1567165998259; Fri, 30 Aug 2019 04:53:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567165998; cv=none; d=google.com; s=arc-20160816; b=ja+RartFzidsKCM+0mormQTcSBwgWxQSz5k8vqdh16YFrflcpVwVaqKhfQtlZyJkd6 YJZiApt0e7Huyxfu3IBo0mEmQQXUcBMIuomz3SyQ95hqez/tUBwMwLUmcJaAhrNKZtfm fr6una56yfu9bEOsFMKfuiCLdkxnLL+sY76rYbgYGycNP6hhdMrQfFWGgCKBOrhzuBNy coaSLPtoFhLYJbMRl2Cu/VgNyYSeleRYsuFGxxMQ50RIEOZvS7useK0m4FQUMD69An32 3mAIURoh9FkQwKUBAugtBgqVPKNVRznshEpdWxO2fRWWYGHRm5GWP1k/HeptTXvHRTDS 5ZdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=iLq9jWxq+b14lcVZgOtjqxcEkzR1k1B2wLpJq/OEnUc=; b=ukDCWziAGCjr6TQyJdjlCl4dEV3GGugaoPV4RR7AYCEhgqiigCvxnlCq1N2Gs5Rac4 MKVnefjgAsgyzOOvL4rCCge9P0TW9pKJfDckCVZQ9aDV9NXM0un4b4rE6GzjuJi4FJG2 ute8PHJp+I+hKmAluijeDEYIyeBcS9aEzAFAyQOUMDtYH5cf049O5XAtT/aotNKcAEv+ 2cD4ovcqHfT3q9COU8Sj5riBjVTU2vczY4mX/3a7ELsWWAKLcGTtvFCKHKoEeBnBh1Kq L77dFnvrqhrMMAB7uhFQ/BV5A+42ejM0z4zN6xR4LhmEQFHUP/hCPFLgbHU6HOb96ZD/ 3PLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j190si4271478pge.92.2019.08.30.04.52.57; Fri, 30 Aug 2019 04:53:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727522AbfH3Lww (ORCPT + 99 others); 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