From patchwork Mon Aug 13 14:22:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1313201 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id A112DDF223 for ; Mon, 13 Aug 2012 14:27:27 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T0vYr-0004Dk-3o; Mon, 13 Aug 2012 14:24:05 +0000 Received: from na3sys009aog132.obsmtp.com ([74.125.149.250]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1T0vXi-0003nR-06 for linux-arm-kernel@lists.infradead.org; Mon, 13 Aug 2012 14:22:55 +0000 Received: from mail-ob0-f176.google.com ([209.85.214.176]) (using TLSv1) by na3sys009aob132.postini.com ([74.125.148.12]) with SMTP ID DSNKUCkNvJJwbGwvKZiQ95dIkN6VxJtqNWB1@postini.com; Mon, 13 Aug 2012 07:22:53 PDT Received: by obbtb18 with SMTP id tb18so6572197obb.7 for ; Mon, 13 Aug 2012 07:22:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=GIf9JG4iYQzdqfGgMSPLuENqDeJ+b2sv8Ysx0Sh4XQ0=; b=ok8laKGRSlXIlOvFiooGhoFLYDB/D2OlBEFLhsHqQ2d1y2OHYsIrw33aTZFWfE0axs e9tKqEovsUqMfRH6Vy4qCgL2SApItthMh1fjEJKY7zqc6k3M0hABs3Su2zgppxD7Uu0O 7Fzmyz4ErJxiGVhBtHT4U2X9FiPHXxKo2HTwZroZKsavl8d7993C8jnKs8ItLAs+c3g9 z+0pwPcUP1YiNCGoI0EfwD32BcrSs7upaJUEAL6xEy/Ot8nLvMMWvnAupIQyhTfrsk3g N/HN+cpEfIs8YLlovgRv/NHDPHJXjLxcUOVVyXlCqeFJm+j4ThsYsT85bYkvBR3NnreX +qMQ== Received: by 10.182.197.73 with SMTP id is9mr12068887obc.32.1344867771610; Mon, 13 Aug 2012 07:22:51 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id th3sm6355591obb.6.2012.08.13.07.22.48 (version=SSLv3 cipher=OTHER); Mon, 13 Aug 2012 07:22:50 -0700 (PDT) From: Peter Ujfalusi To: Mark Brown , Liam Girdwood , Tony Lindgren Subject: [PATCH v2 6/9] ASoC: omap-mcbsp: Remove unused defines Date: Mon, 13 Aug 2012 17:22:45 +0300 Message-Id: <1344867768-26335-7-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1344867768-26335-1-git-send-email-peter.ujfalusi@ti.com> References: <1344867768-26335-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQkc8t/yLWmqnOnIDpDlVKyOtxOE/MaEebazmE9417MEKNRc4oy/JJdsoWdAr2x2v3z7hKGJ X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.250 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: alsa-devel@alsa-project.org, Benoit Cousson , devicetree-discuss@lists.ozlabs.org, Jarkko Nikula , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org NUM_LINKS is no longer in use by the code. Signed-off-by: Peter Ujfalusi Acked-by: Jarkko Nikula --- sound/soc/omap/omap-mcbsp.h | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/sound/soc/omap/omap-mcbsp.h b/sound/soc/omap/omap-mcbsp.h index baebcee..ba8386a 100644 --- a/sound/soc/omap/omap-mcbsp.h +++ b/sound/soc/omap/omap-mcbsp.h @@ -39,22 +39,6 @@ enum omap_mcbsp_div { OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ }; -#if defined(CONFIG_SOC_OMAP2420) -#define NUM_LINKS 2 -#endif -#if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX) -#undef NUM_LINKS -#define NUM_LINKS 3 -#endif -#if defined(CONFIG_ARCH_OMAP4) -#undef NUM_LINKS -#define NUM_LINKS 4 -#endif -#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_OMAP2430) -#undef NUM_LINKS -#define NUM_LINKS 5 -#endif - int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd); #endif