Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp357234rdf; Fri, 3 Nov 2023 02:55:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHx9nqAVe+qJFm1r5WyeWR50yq6lmVBhp3DKDE5hOpszxDXSUSAvVE38vvPnMge5SXYUWxf X-Received: by 2002:a17:907:806:b0:9c7:59d1:b2ce with SMTP id wv6-20020a170907080600b009c759d1b2cemr6643098ejb.5.1699005356865; Fri, 03 Nov 2023 02:55:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699005356; cv=none; d=google.com; s=arc-20160816; b=eH6aWRRyd9/D+nfOdmEHvuARt2ChHRVqDNFR3+tnN2AKbxBSi4nLDzF2bPhvc7x5yE ixHdNJRxaDzmIUrqj6PwxF+Jconxf5C6aCEKE1f4WM0XW60eJmgmWvS+pQ+rdp4vBBSF T32ubqScI0U6wsksuwDZ4T5hCTdUeqaHQrR+3rhKXKBB+bSxJ1gbGOqWtr5rJHZBdnHn 4d4GwoytfflVgBZazZeXcnY8fMvZQpmcnrSwjH9ocN1qq9YCYKUPY1z6Tn52hjF+x6yS rcbZvvYcqj1m8hPq+S/5Qla2hsDbzYftZZNrbx5JOiECkIMLdar3gdpzCvQPZ4vlGdrb DkIA== 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 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b10-20020a056402084a00b0053fe44a1320si792067edz.651.2023.11.03.02.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 02:55:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; 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 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 96205806E4D0; Fri, 3 Nov 2023 02:55:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347416AbjKCJy4 (ORCPT + 99 others); Fri, 3 Nov 2023 05:54:56 -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 Content-Type: text/plain 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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Fri, 03 Nov 2023 02:55:15 -0700 (PDT) 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(-) -- 2.18.0