From patchwork Fri Nov 3 09:54:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?VHJldm9yIFd1ICjlkLPmlofoia8p?= X-Patchwork-Id: 16209 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp911037vqu; Fri, 3 Nov 2023 02:55:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCw8WL/OIjWR2nWB7hnSznmOPF1gx/qnxkj5TiIHG9W1T5sYgijpU5shpsM8Eb88lWqM28 X-Received: by 2002:a17:90b:2348:b0:27d:2dde:5979 with SMTP id ms8-20020a17090b234800b0027d2dde5979mr20023230pjb.5.1699005299782; Fri, 03 Nov 2023 02:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699005299; cv=none; d=google.com; s=arc-20160816; b=w5fbv5x0mOp1AQO2SKwtXc1s1grlOdPLS4hDkJuKGyGPcxv70nGya1d5IfYzCb+zjy pp63LvIUMKdgro+rCWN9foML386GC/RTJx6JkzAYoaPdRQhNMleDVkcFs7UuRkONRJGt qschzJyIkOOUPXHr3Of0AogrhbBOucA2v1pnR4d8memu0WJhl4gfDLCAgKz4WkUxXyXD Ts0PVBWENP22W3X5Qn46cdE73nCYDIC9jHfA5sBWdqEdfrXEevliKHf286IBAgjVWaDe SL4gpdcJXrSZpdI39wxGNqv9Z4Y1EkjWoMevOjbp0gn0L5b7h40QWv2gD744h0/AhoHV cXyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=36KOaLQYZpx+CBVDxAIZQHr56OQpZtru/mLgKhFMQEI=; fh=Bh1cQLy19rqnstV4na6MJ9RqbV9xHSek8gDLqyncuy8=; b=Hkz6M1QGI6wzpwAw9LhWSFLf1i9zIZOX7x7ffka5cuPJP9f8uXLbSzYILJeie44yiC Of91/JpH5Dgyj4WPMnpuLP/2Guq1CLuAOm2f9wwrNECRg+4k8Hf7D2dlcqy2QNupwWY0 JtLm1XytLiv8KwIhAYZxv6K7ZNKtuysneeV98yekfMXDBbKA1i+70qCJ6nQoOz0Sx9wi 4eehOowEhOgH3s0NJofiJvrTPIXP+z74F6p8zv9jqZYQJ1S4Xzud1lTocdHLnW3aRV2K pa+t82k4MF+EBIyAtANu9F8xmZTNmaSqLMwjmtjr9yx/ikcQYjKv67YgXwwTsHCZMSgB OGdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XNCq4frN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id om9-20020a17090b3a8900b0027d4901b0b1si1339676pjb.82.2023.11.03.02.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 02:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XNCq4frN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D86D483896E1; Fri, 3 Nov 2023 02:54:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347425AbjKCJy5 (ORCPT + 36 others); Fri, 3 Nov 2023 05:54:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347331AbjKCJyz (ORCPT ); Fri, 3 Nov 2023 05:54:55 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24F32191 for ; Fri, 3 Nov 2023 02:54:48 -0700 (PDT) X-UUID: 0268385a7a2f11eea33bb35ae8d461a2-20231103 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=36KOaLQYZpx+CBVDxAIZQHr56OQpZtru/mLgKhFMQEI=; b=XNCq4frNl7Ure2q48Gzr9eohKPPCXYcUD08RYIj7e4srQZMUo4WD5pl79ESAMyk+u68lK7dqaCLtE5RZROPCVw6TNg62Qf6zP+VwIKL0Qwjn7sHVcABWQFTj3bB6sunQOttBV4Z1EJM6zjBIhHLpq1WmDep2vbfT7TuiZ1x2HwY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:86c8f0fa-8662-40ce-a03c-6295f7f07ae4,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:364b77b,CLOUDID:abe93c72-1bd3-4f48-b671-ada88705968c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 0268385a7a2f11eea33bb35ae8d461a2-20231103 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2084049131; Fri, 03 Nov 2023 17:54:41 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 3 Nov 2023 17:54:40 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 3 Nov 2023 17:54:40 +0800 From: Trevor Wu To: , , , , , , , , , , , CC: , , , , , , Subject: [PATCH 0/3] ASoC: SOF: mediatek: remove unused variables Date: Fri, 3 Nov 2023 17:54:29 +0800 Message-ID: <20231103095433.10475-1-trevor.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--5.552300-8.000000 X-TMASE-MatchedRID: CZ72wFVpXzbtt0HEL3BUV2ivjLE8DPtZhQaFqMRElgmctWHPLT5FfaOh e5t05aXCoMrRxniPIdrzXqndlTSd4XrAhMQyuycqngIgpj8eDcBpkajQR5gb3savT21DsLD/UEh Wy9W70AEgBwKKRHe+r9sGaC9CZ9ufaSe4AUD2MhNW9T26wF2Q0+trTZbfiv2vIgRPkrFqNz8= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.552300-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: A73DFE082454B4F6E5DDA2F6EB029BB6F4A21EB136424A16F44F6AEAA72751B92000:8 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 03 Nov 2023 02:54:58 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781536181373060555 X-GMAIL-MSGID: 1781536181373060555 There are some variables that are no longer being used because they were declared for the deprecated memory layout. Currently, these code sections confuse the users. Therefore, this series removes the code that was implemented for those variables. Trevor Wu (3): ASoC: SOF: mediatek: mt8195: clean up unused code ASoC: SOF: mediatek: mt8186: clean up unused code ASoC: SOF: mediatek: remove unused variables sound/soc/sof/mediatek/adsp_helper.h | 4 --- sound/soc/sof/mediatek/mt8186/mt8186.c | 49 -------------------------- sound/soc/sof/mediatek/mt8195/mt8195.c | 49 -------------------------- 3 files changed, 102 deletions(-)