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: 1331961 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C1978DFB34 for ; Thu, 16 Aug 2012 13:41:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754024Ab2HPNlS (ORCPT ); Thu, 16 Aug 2012 09:41:18 -0400 Received: from na3sys009aog135.obsmtp.com ([74.125.149.84]:46776 "EHLO na3sys009aog135.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753853Ab2HPNlR (ORCPT ); Thu, 16 Aug 2012 09:41:17 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]) (using TLSv1) by na3sys009aob135.postini.com ([74.125.148.12]) with SMTP ID DSNKUCz4fFPQfYjeu/iXUj8CBuEB+i+zdImh@postini.com; Thu, 16 Aug 2012 06:41:16 PDT Received: by obbwd20 with SMTP id wd20so4731375obb.37 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=bax6dPu9ord9uZIHFeSSIStN2PSOP2zMTBPtlxtocOKlUdvuiMRXogtMu6CkhrFTMb IDZFmu4THmvhypxBqDLnlOgOHX+NysKDJwRoR7pAj09BMo7g/G0thvOrBGoNb0gVkqU0 +qltr5T+t8IpPabq+TVwW3fecCSBH+2u0dlLI/401iblUFw+S9nCNiR9vLSDmB2XVI2u BG8017iub6muyTNLquoAp4pNLoG0tASPwhfDDucoEPKmwtW7PKYoqM/ZmAiRiLhNpHE0 z7Ygwv/6izdL00Jbtoj6nz0X0zxtysWcgT1smWAysPzVWQ81XJ+LjP0DdDrY6eWPcp1u a2+Q== 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 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 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: ALoCoQlzjv3sM+DUNzFm1NbclHpOMU3/zEGJkPZXvSwWW6VGMvs8qV8zitICRDEONwoNNrAfnAAE 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