From patchwork Thu Aug 16 13:41:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1332041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 6017140210 for ; Thu, 16 Aug 2012 13:45:32 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T20Km-0005Sb-4M; Thu, 16 Aug 2012 13:42:02 +0000 Received: from na3sys009aog129.obsmtp.com ([74.125.149.142]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1T20K5-0005FO-Pl for linux-arm-kernel@lists.infradead.org; Thu, 16 Aug 2012 13:41:19 +0000 Received: from mail-ob0-f171.google.com ([209.85.214.171]) (using TLSv1) by na3sys009aob129.postini.com ([74.125.148.12]) with SMTP ID DSNKUCz4fFPQfYjeu/iXUj8CBuEB+i+zdImh@postini.com; Thu, 16 Aug 2012 06:41:17 PDT Received: by obqv19 with SMTP id v19so3851522obq.2 for ; Thu, 16 Aug 2012 06:41:15 -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=pnkBrk7SQdpUP+aTgPG0yBKmSA4V5g+ZD2nFMv3/hF6Q4AWh1cnRceLrJ+WK0raaWW Qn9wqKTv+d2kMK6QR+4EJWRwjOuIAET8gvRaP2anR5mS0tUe0i0VKoaf90O9vXq1j0mI l0PW5i3T2Nkmr8AxRUoi8cgONF2skdrhbsA3WdMJSQ1hF6du/SseLMHEeWfEw6Bn2Mzh Qjw3tqdEEghZ3g1t3THSbMkyel/UXatVppj5oY+u2pGBTJB8ZnTh+We+m907CLbwOL+B C7ednHd5eKI0kUZ1CvvN5xl5gkTqcDhZ79Gk9dQR3sRif2jrANheVC7okm9/2R/Ss1oE 9v1A== Received: by 10.182.72.9 with SMTP id z9mr1030636obu.5.1345124475555; Thu, 16 Aug 2012 06:41:15 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id x10sm2977371oeb.8.2012.08.16.06.41.12 (version=SSLv3 cipher=OTHER); Thu, 16 Aug 2012 06:41:14 -0700 (PDT) From: Peter Ujfalusi To: Mark Brown , Liam Girdwood , Tony Lindgren Subject: [PATCH v3 6/9] ASoC: omap-mcbsp: Remove unused defines Date: Thu, 16 Aug 2012 16:41:05 +0300 Message-Id: <1345124468-8876-7-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1345124468-8876-1-git-send-email-peter.ujfalusi@ti.com> References: <1345124468-8876-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQkrSUuks7b+XjckL7Cgc++sHtgEJbRRjhRezZvy/aDVLE1priqz7H5w5RST3VoWVUYB/w+w 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.142 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