Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp161151ioo; Thu, 26 May 2022 00:16:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiT7GgsVL8hFWEyS4JLm8zx67wYhRFnWWgmE44xKtdBfDQbGHpiw1xzA+AZyPiG8RtfvT4 X-Received: by 2002:a17:907:629c:b0:6e1:6ad:5dd8 with SMTP id nd28-20020a170907629c00b006e106ad5dd8mr31932164ejc.641.1653549367182; Thu, 26 May 2022 00:16:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653549367; cv=none; d=google.com; s=arc-20160816; b=mZsMWiwKUkf78YkwsOKmo8UjWfjuiyMesr9yP9pP7Q7oV6T33yIBq52Do83enArzcL GgN9PEi1Kv4hm43iOSRrAbwQ2rI5lYGRG/NYUhnK/DdX8Vi64mxEg0wGpRDBekQUTEkf G6tcUqBhayX2f78RlOE3JuEJZRRGZr6tT9yvznOSUdB5M/3f9gIqjHwv7yjMM0s8DjPL A3MDhbUxvXmjxceNBq7uXB7IIXcqj7s8OMGmcGXLpzKYU0ioXcrwmdL5a9g784B2ux0L p/qxdAmhkuuQLtUT7Xf6u34vS85i3NBfFDDx64sI2AJdepqnIk62iggoc/04rDTqjZFb yvwQ== 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=h/QCdWDB9b1vEVEFn80iHcydYGArC7yZLQSOI+v37F8=; b=efs5DJHaCprBsLZTAr4URGSoiuLuShTDSzoFnoa7MEp0vpl4KWIbbipmBInR6s0DOD 2Cf7f4ddkG69CMfA+VRDJNGpRmFLQsu3emBBup3BwR/vSyXKVVy5P0tTAvRNeXOHX4VO Hmm1znx5OjbVPSKdsAonra8KUjBhl7cyZAq+6XjvAfX2RYiQNI8Afmr3WS+q4txUUP6N EE+db3ZCGywtIBG4gWylOpTaGaJc42nTMSewCUzXIkryVWW1siQN0k812U1lwCYl4RUf mChFZLRjOBpPVuZqaO+nYmcTYoM6Xk+6QbCOcVXqi1OemrS1uXKgBorvvyHyFCZibC08 0rNA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm17-20020a170907949100b006fec2c60321si838621ejc.304.2022.05.26.00.15.40; Thu, 26 May 2022 00:16:07 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238419AbiEYNti (ORCPT + 99 others); Wed, 25 May 2022 09:49:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiEYNtg (ORCPT ); Wed, 25 May 2022 09:49:36 -0400 Received: from cmccmta1.chinamobile.com (cmccmta1.chinamobile.com [221.176.66.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6A0092CE24 for ; Wed, 25 May 2022 06:49:30 -0700 (PDT) X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[172.16.121.17]) by rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee3628e33e6757-0b9b4; Wed, 25 May 2022 21:49:27 +0800 (CST) X-RM-TRANSID: 2ee3628e33e6757-0b9b4 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[112.0.144.216]) by rmsmtp-syy-appsvr09-12009 (RichMail) with SMTP id 2ee9628e33e361e-d2f77; Wed, 25 May 2022 21:49:26 +0800 (CST) X-RM-TRANSID: 2ee9628e33e361e-d2f77 From: Tang Bin To: olivier.moysan@foss.st.com, arnaud.pouliquen@foss.st.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tang Bin Subject: [PATCH] ASoC: stm32: sai: Remove useless define Date: Wed, 25 May 2022 21:50:23 +0800 Message-Id: <20220525135023.6792-1-tangbin@cmss.chinamobile.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 STM_SAI_IS_SUB_B(x) and STM_SAI_BLOCK_NAME(x) are not being used, so remove them. Signed-off-by: Tang Bin --- sound/soc/stm/stm32_sai_sub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index d300605a2..4b33257c5 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/soc/stm/stm32_sai_sub.c @@ -45,8 +45,6 @@ #define STM_SAI_B_ID 0x1 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID) -#define STM_SAI_IS_SUB_B(x) ((x)->id == STM_SAI_B_ID) -#define STM_SAI_BLOCK_NAME(x) (((x)->id == STM_SAI_A_ID) ? "A" : "B") #define SAI_SYNC_NONE 0x0 #define SAI_SYNC_INTERNAL 0x1 -- 2.20.1.windows.1