Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3381355ybt; Tue, 23 Jun 2020 00:27:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7xVe/+x9SWv5/C6Oz9pfMZ51ZtPtm3JoVfHzBI0X/9/KgB5ZygB6kFaV1soqL3iO63ycc X-Received: by 2002:a17:906:ce30:: with SMTP id sd16mr19760353ejb.374.1592897270212; Tue, 23 Jun 2020 00:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592897270; cv=none; d=google.com; s=arc-20160816; b=e2tTLFpSLHjPH9/T8w945PJz5LB4x8/xbv3iXadKv6ealHq/6h0VkNLySColuERDrh mX4igsUwYlPwQSIASSGawb4BNWAY0Y0cyg7kqf7MeJI9Nojaokw+zghxJsUtivkV+aU/ oSLU1/4cgL206adEv2ZPc2TP1a962TDFeu7SxmVtYbEiwFolS+siLbPpBh3Wi71ybu7q sIbTd8NCruT1tOEXizELzHcWvc1TD98hrR6pss5WLTPxER+NcIrB5S0/qH1IZ+zKxK+P B3XS+tMGKsFQCd+ux0G9G/7mQeG4GIHjmp7k5Ab2DeZMZCpDd+DtKEVjGUfqcKYZmbxO bipA== 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:dkim-signature; bh=AmTtxgjJJqlpgIBCkHW6b+asXc8NJTfuHQ0UTXoQ8Kc=; b=DOov/HDGlng6QRmQUDnPnJGprcXRQO2Z1rq0adqmr6xE2K1wg/pPnjTZiKE+ToXZjf roMYS1HQs5OoG/FvY1Zjgwf5jHpxiGQPueFAhfJVQi2JM4HOMP+Nisv0hu1EyD6LKDCh QmBmUyACswenHwmCKNXJI6cxkCowO9WsgXqYwkTr/Y9Vd1iSOeaZAK6mknqCK8BQJeHh rIItaGjDWBtlNJi7R9fxS6binhrmPT/sThDdLLtIdKi5vI/1mhRB8buHsM0GRxQKhoze ceu9aeAdsaXxdcBqq0Kj0QjNHm2KoARRr+rdiaVj8AmWRQLviff+4AUUXVTuBRD28nQy 5gXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=JqScRjgN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si4447108edl.463.2020.06.23.00.27.26; Tue, 23 Jun 2020 00:27:50 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=JqScRjgN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731158AbgFWH1P (ORCPT + 99 others); Tue, 23 Jun 2020 03:27:15 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32222 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731145AbgFWH1P (ORCPT ); Tue, 23 Jun 2020 03:27:15 -0400 X-UUID: e71a3a78342f4b7c851cead62a4928cf-20200623 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=AmTtxgjJJqlpgIBCkHW6b+asXc8NJTfuHQ0UTXoQ8Kc=; b=JqScRjgNgH02QytFICUfas7JJefBLhvTSXIqlUymRDfyl8Vi1F6Bf4Cg9kXPz4n1TN7j5bmuzCTtncMo8rgV4suBX6Eln3K9p7F/v+DdMpT2QEJthYMdANi+TczYP4/l29mXHjJgGhwAfx6jfl63hflsSBKPl2JVAh/7blT+tnU=; X-UUID: e71a3a78342f4b7c851cead62a4928cf-20200623 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2086534945; Tue, 23 Jun 2020 15:27:13 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 23 Jun 2020 15:26:58 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 23 Jun 2020 15:26:58 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH] mt76: mt7915: remove unused parameters in mt7915_puts_rate_txpower() Date: Tue, 23 Jun 2020 15:26:44 +0800 Message-ID: <20200623072644.15713-1-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: A7ABA8D085CB36C85595EA289AD50EA6BCFE3B40605EAB6508A8BC5EDC68B8832000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org U2ltcGxpZnkgYW5kIHJlbW92ZSB1bnVzZWQgcGFyYW1ldGVycyBpbiBtdDc5MTVfcHV0c19yYXRl X3R4cG93ZXIoKQ0KZnVuY3Rpb24uDQoNClNpZ25lZC1vZmYtYnk6IFNoYXluZSBDaGVuIDxzaGF5 bmUuY2hlbkBtZWRpYXRlay5jb20+DQotLS0NCkBGZWxpeCw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