Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7905907rwb; Mon, 12 Dec 2022 22:37:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf7TfgX1vKIOdASqv58oc9Ijwx6mjruL9JDfj8r1awiBxKX1qK8dkh/1jBCMjtcw6lLYQV/Q X-Received: by 2002:a17:90b:2681:b0:219:f1a2:b665 with SMTP id pl1-20020a17090b268100b00219f1a2b665mr20319861pjb.5.1670913425280; Mon, 12 Dec 2022 22:37:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670913425; cv=none; d=google.com; s=arc-20160816; b=stlvHJetUe2naeuztqa5y9pN01NEsjrjoiHw/mDZGZtsUm6H+KnrRKtaPctSlXHWCU 4u/pJmaKK4Mtg2DDCQl25xOmtSu/yd4bWiit8QRSt+LJwtn/8J4WMWF5WdwuzO6UikUF swfUaAGD9Cyz2YVUGVssR88kil8GrUhJqQW147D9n/r86KXs6GJ5dzyAeTDn1uim9T+m MVwUbWi0eL0WH8ubyAwZivSJ3OBfbOc/LSCk/+v/BHqcO01vnOIp4f5nqgz9fmlFZrlI 675ckgqFxBtzINj/u2B/OA4XwRCV4AHGmuAUMwd3a8mU+1gVxC8U6WL3r4Ud6xj8lG/S mz6A== 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 :message-id:date:subject:cc:to:from; bh=rwu7Y77LsICyMHeq9MfsHMiQy5lozCV8RV1zaEJ0TKQ=; b=YdDfbsldP9LOJZlQLX803DJRhwsqBCznYJaPS+sN2YPzOTqfrj4osq09pIuw2A8to/ n9R7uw3HvUvDNMYYDtlZ6F90mA8mn2rptlt2SaVaMm8Zh280s+MUGKKjsmczLyOfUL42 EZpwVSKIA7lOHC5C4qtQlLOrMva8ashTxICErRgbtdF8DwAYqS343/9612YLjP4ilY4C hefGx3dAH+8Ps0jBJpc30l+9q+GJaLNWzPkrY/MjdViMyNgveI4AltHZRUCJv0RXEgjC 2L0L0nlDPcQeEEtie+7mOlpj1Pfasn9hC9o9cabR1Ucmm9vOFpAwxD02qpAYMva01emw B9Xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a6541ca000000b00476f43ccfa8si11497739pgq.849.2022.12.12.22.36.52; Mon, 12 Dec 2022 22:37:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234465AbiLMGOn (ORCPT + 76 others); Tue, 13 Dec 2022 01:14:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234443AbiLMGOl (ORCPT ); Tue, 13 Dec 2022 01:14:41 -0500 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 325FE1AD94 for ; Mon, 12 Dec 2022 22:14:39 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=jiapeng.chong@linux.alibaba.com;NM=0;PH=DS;RN=6;SR=0;TI=SMTPD_---0VXCbbTo_1670912063; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VXCbbTo_1670912063) by smtp.aliyun-inc.com; Tue, 13 Dec 2022 14:14:36 +0800 From: Jiapeng Chong To: perex@perex.cz Cc: tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl() Date: Tue, 13 Dec 2022 14:13:55 +0800 Message-Id: <20221213061355.62856-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function snd_azf3328_codec_outl is defined in the azt3328.c file, but not called elsewhere, so remove this unused function. sound/pci/azt3328.c:367:1: warning: unused function 'snd_azf3328_codec_outl'. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3432 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- sound/pci/azt3328.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 7f329dfc5404..0c6754bf9455 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c @@ -363,15 +363,6 @@ snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigned reg) return inw(codec->io_base + reg); } -static inline void -snd_azf3328_codec_outl(const struct snd_azf3328_codec_data *codec, - unsigned reg, - u32 value -) -{ - outl(value, codec->io_base + reg); -} - static inline void snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, unsigned reg, const void *buffer, int count -- 2.20.1.7.g153144c