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: 1313101 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 99B193FC23 for ; Mon, 13 Aug 2012 14:22:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752013Ab2HMOWx (ORCPT ); Mon, 13 Aug 2012 10:22:53 -0400 Received: from na3sys009aog135.obsmtp.com ([74.125.149.84]:57440 "EHLO na3sys009aog135.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227Ab2HMOWw (ORCPT ); Mon, 13 Aug 2012 10:22:52 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]) (using TLSv1) by na3sys009aob135.postini.com ([74.125.148.12]) with SMTP ID DSNKUCkNvJJwbGwvKZiQ95dIkN6VxJtqNWB1@postini.com; Mon, 13 Aug 2012 07:22:52 PDT Received: by obbta14 with SMTP id ta14so9102479obb.32 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=iQpboxMHUxCESzTj1h2bdH3kMJzDuDIgGPzdAcq3CAIYctpdSHUUlWGUTX/qy7a+Di eqPBet5rTb+o+VmrrukPn8CQQZi+0vJeIRvX5l77b6neUj5EEcGj1zzbcgJH6ZlK2jkA 4OvGt9UN1xAEI4L3W2UxWMb+AWDhC1OWpbPmDKml9pzy4RF+k4lKx1AtWExPv1H61iu0 OKC7fIHTGLPxyboRrKTF0m8P8N3/xyeFnlQIdDObySTsjQUm4dodAjnepDoA9QlyBvpw bop9qAyUtez/vN1D8d+3WcLKFvTt08TFGZoFZL21P75/jS7Cdv0OiZN6HbiqtahKFfzQ un2Q== 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 Cc: Jarkko Nikula , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, Benoit Cousson 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: ALoCoQlaKaU08Fts+F2sf4QZKTlILdmK4qzZK6ZDY7zkNg9PNVwBkNYVc2X7Lo7zMGpGBUbk4VML Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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