Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp395260pxy; Wed, 21 Apr 2021 05:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqnpNQbJFfWfC3j2exlrbQc3VKswWvL1J1sn1aV/FdNfXDWZLwI+KjM5G4Ao4FNQo3bAII X-Received: by 2002:aa7:cb97:: with SMTP id r23mr37951856edt.106.1619009251561; Wed, 21 Apr 2021 05:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619009251; cv=none; d=google.com; s=arc-20160816; b=HXJwQWRBgDpOYXQ/oB0/vgBSpQ60ykB/g2QdFdE/LyDoCRhc3v4AEu46UIovEg91qs HozitIWtqVirbee1xshe5vbrh+UFfzf8vSiBUBLfxE7uK6vkQJx1WWFAkjag4kIfT5ay nxhcJc0PFBeOZMK6mqK626UzCbmNE21Vo8M78amddYF5S79WWk7LQLMSEM6Ri9K8/ZeG OpBWsGIqgHSVc+ECBof42UwkbrJKm2gR0ndE2H3Rlj6z4EI7JFPBoMxU8Ga+jYt+s0w+ IBmKYeX2E6TfXwNwPz+yjM+cxD5zgdK7F3f2lADRbMG6ij6Po6BU2KQ/yUv+lIH7+qmB 1CGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=hsN/ZJyd+aaIrurqqlbe2KS1PLcr6hyghZXhw3Qeyqk=; b=h94ROSAJOInYr2bD1g48BVubQG5IFUPhqga75xgEwDGGjZjbn/mWSp0Ra2MRg79YYw 3pSsZ7O+242gTPz7W7jZbssFFCJ758GITAwvlQ3j1QKNsbHfbOt3w+Xd+IcmEVlyidFB mAW3aHdj8NCOvVBEmSNgwR3IegTyxcMyzshJhMQ5+0tekOBUepDf01HiwvpAo8TxWnbI YhQ43UxmZj4vsbsb2uFLJfyTy5eHTeAm5Ia62GwLToWNOFzkM1Vk32Ci2nQTHf/tLEA8 4UWJ+jztmFUbls+BbXOLp9haXqnpkKDL4ELXhRXhCQBqk1BpJUF55b9vRuVbIQnJZ/Mf /y6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn3si1848203ejc.198.2021.04.21.05.47.05; Wed, 21 Apr 2021 05:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237916AbhDUK6X (ORCPT + 99 others); Wed, 21 Apr 2021 06:58:23 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:41345 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237381AbhDUK6W (ORCPT ); Wed, 21 Apr 2021 06:58:22 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UWI2xU2_1619002657; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UWI2xU2_1619002657) by smtp.aliyun-inc.com(127.0.0.1); Wed, 21 Apr 2021 18:57:48 +0800 From: Jiapeng Chong To: qiang.zhao@nxp.com Cc: leoyang.li@nxp.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH v2] soc: fsl: qe: Remove unused function Date: Wed, 21 Apr 2021 18:56:53 +0800 Message-Id: <1619002613-18216-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The last callers of this function were removed by commit d7c2878cfcfa ("soc: fsl: qe: remove unused qe_ic_set_* functions"): https://github.com/torvalds/linux/commit/d7c2878cfcfa Fix the following clang warning: drivers/soc/fsl/qe/qe_ic.c:234:29: warning: unused function 'qe_ic_from_irq' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: - Modified submission information. drivers/soc/fsl/qe/qe_ic.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/soc/fsl/qe/qe_ic.c b/drivers/soc/fsl/qe/qe_ic.c index 0390af9..b573712 100644 --- a/drivers/soc/fsl/qe/qe_ic.c +++ b/drivers/soc/fsl/qe/qe_ic.c @@ -231,11 +231,6 @@ static inline void qe_ic_write(__be32 __iomem *base, unsigned int reg, qe_iowrite32be(value, base + (reg >> 2)); } -static inline struct qe_ic *qe_ic_from_irq(unsigned int virq) -{ - return irq_get_chip_data(virq); -} - static inline struct qe_ic *qe_ic_from_irq_data(struct irq_data *d) { return irq_data_get_irq_chip_data(d); -- 1.8.3.1