Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4029732pxv; Tue, 13 Jul 2021 09:09:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPWwMImPWNjwrMi067CHty3qej72BP04WMtjgE5LkvQh4ADBotuZ1lVfyjgKoAIO6NHp0S X-Received: by 2002:a05:6e02:12a6:: with SMTP id f6mr3329699ilr.123.1626192595658; Tue, 13 Jul 2021 09:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626192595; cv=none; d=google.com; s=arc-20160816; b=nyswaeR9xrSIAU3mNqB3PxSM8w+gbthPg3jZEJxZU8GteTm6H+DkkuccIfIqhG8/RY ij8rrfzqSw/5VeO9/gNl2BPYYBX3AqgOuJFdhMQXbYr3t0ii99jXvkGOSwxJjuxmM4CN mXYNNfoE5vR3FdPTV4xgc1j/hwGPUPl1kUbjCDhOP7cM9B8W3DO3EAz50D+PZ4CQuEWv 7Jb7BU6rCpP8ZwXbPiBANZBck0sEhEo9m6Q5mEs95LY/pk5HCwzmkyXCegEEowNWz++E 0NJztNpgIkqeIdWIrt6PV9WRBkzuXMyd6SP8UZUrwEtPn30vh3CyzzblMnfny+VTqnwy 68ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kALmQlVD1mXKtMl6SNLC4u0N8cLUAa7AgdTZMgUMrik=; b=NVVNz4RXoXpmeyc0UWXcxWw84B2BNjGTq7okb0BTg5L9/P8VMP4gx0b4q6aR5RDfFp BXJm+hIeF6fPaMuynziNCGKAGsBdtlSYr+HFZfLE5OBBljBXYVeebbZfOx8Zo5BA4+Zx x8wlqO1+7Ifl1S7k6ANX7b2PsXhHgbkacc8bVkUNiVa/xhKrWSX+XPEi3XbQIJ6/eyy7 UR86Dr7uyS8RQibGQNhUgPP9PZ5bs5DJRnz+yFrY3LXQ/WWva9EwKND7S+NDBEhg4EeS UpZ/DhkNuv6iMwwe9eYlBZa/WJ2Uj+HDNfBA8qcgXBqobdwWmjflJSUXBLNSDBerEDJp BBJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=HO7dvPiF; 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 e16si23609619iom.90.2021.07.13.09.09.43; Tue, 13 Jul 2021 09:09:55 -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=fail header.i=@nbd.name header.s=20160729 header.b=HO7dvPiF; 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 S230156AbhGMQKs (ORCPT + 99 others); Tue, 13 Jul 2021 12:10:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbhGMQKm (ORCPT ); Tue, 13 Jul 2021 12:10:42 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4BABC061787; Tue, 13 Jul 2021 09:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=kALmQlVD1mXKtMl6SNLC4u0N8cLUAa7AgdTZMgUMrik=; b=HO7dvPiFO7OIlF4z8ZZnmKEnme xCwubAKsnJBXSBeu6kuwOxtRWa3LwtkKTocdOszdXp+zKXYvfSEQ+Qpd7cAI8BLCTVVUyT4DAsgDz fmsTF5GD8hi4LHqx1ZC4UyVL0lAb+nlO284OY0cONHa+624Y8fnm70+Fr60sJ2/vHKLw=; Received: from p54ae93f7.dip0.t-ipconnect.de ([84.174.147.247] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1m3Kwn-0008TX-Ox; Tue, 13 Jul 2021 18:07:49 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, pablo@netfilter.org, ryder.lee@mediatek.com Subject: [RFC 6/7] mt76: mt7915: remove irq parameter from mt7915_mmio_init Date: Tue, 13 Jul 2021 18:07:44 +0200 Message-Id: <20210713160745.59707-7-nbd@nbd.name> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210713160745.59707-1-nbd@nbd.name> References: <20210713160745.59707-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org It is unused Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7915/mmio.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/pci.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mmio.c b/drivers/net/wireless/mediatek/mt76/mt7915/mmio.c index af712a936ef6..45b277618ef6 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mmio.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mmio.c @@ -123,7 +123,7 @@ static u32 mt7915_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) return dev->bus_ops->rmw(mdev, addr, mask, val); } -int mt7915_mmio_init(struct mt76_dev *mdev, void __iomem *mem_base, int irq) +int mt7915_mmio_init(struct mt76_dev *mdev, void __iomem *mem_base) { struct mt76_bus_ops *bus_ops; struct mt7915_dev *dev; diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h index 3f613fae6218..0652b711ae81 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h @@ -418,7 +418,7 @@ void mt7915_mac_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, void mt7915_mac_work(struct work_struct *work); void mt7915_mac_reset_work(struct work_struct *work); void mt7915_mac_sta_rc_work(struct work_struct *work); -int mt7915_mmio_init(struct mt76_dev *mdev, void __iomem *mem_base, int irq); +int mt7915_mmio_init(struct mt76_dev *mdev, void __iomem *mem_base); int mt7915_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr, enum mt76_txq_id qid, struct mt76_wcid *wcid, struct ieee80211_sta *sta, diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/pci.c b/drivers/net/wireless/mediatek/mt76/mt7915/pci.c index 340b364da5f0..5e93620195da 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/pci.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/pci.c @@ -271,7 +271,7 @@ static int mt7915_pci_probe(struct pci_dev *pdev, if (ret < 0) goto free; - ret = mt7915_mmio_init(mdev, pcim_iomap_table(pdev)[0], pdev->irq); + ret = mt7915_mmio_init(mdev, pcim_iomap_table(pdev)[0]); if (ret) goto error; -- 2.30.1