From patchwork Wed Aug 8 09:11:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 1293551 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 09B26DF223 for ; Wed, 8 Aug 2012 09:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964815Ab2HHJMk (ORCPT ); Wed, 8 Aug 2012 05:12:40 -0400 Received: from na3sys009aog112.obsmtp.com ([74.125.149.207]:33677 "EHLO na3sys009aog112.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932502Ab2HHJMj (ORCPT ); Wed, 8 Aug 2012 05:12:39 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]) (using TLSv1) by na3sys009aob112.postini.com ([74.125.148.12]) with SMTP ID DSNKUCItfpYl47YSFFJ5eZ7i6bih378KV0gT@postini.com; Wed, 08 Aug 2012 02:12:39 PDT Received: by obbta14 with SMTP id ta14so1187344obb.18 for ; Wed, 08 Aug 2012 02:12:25 -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=4SzaqSAA2DMtLg3va5eEidJuTHNKwa2cWdhKQwv6flA=; b=BJdA1ptoW80mLzABVKHLDmdr9Zv3cFHNRZE0tV/nK1avuWMfSzcH5p8JecidjHeHvc vXnCl+o0OZyHojnfRQfB0r/12fqODRf3qlw3sCq1oUE0Y9tDekh2J9+41EZWKxFKmJjW h7XJlo1h9iYR7LPQi4/N+Ksai8ooZZXtl9AzSYpkWAtxTjbR0rI3NHc+KsLP6bKph1p+ x7rFLt61qRIDfEf9Czkta+ZdiRPqUtqr9iCW39ti6g/7gUhBhSbZG248yzP1tfKY1hTW xWRT4VFAUSAjYeOXms26OtzJn5NBZTUFikfhQAb3wOJec4T9ao9beD0Ezl/jgq6JOoUF vJ/g== Received: by 10.182.17.99 with SMTP id n3mr29055523obd.8.1344417145874; Wed, 08 Aug 2012 02:12:25 -0700 (PDT) Received: from barack.emea.dhcp.ti.com (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id cp8sm22099007obc.23.2012.08.08.02.12.22 (version=SSLv3 cipher=OTHER); Wed, 08 Aug 2012 02:12:25 -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 09/11] ASoC: omap-mcbsp: Remove unused defines Date: Wed, 8 Aug 2012 12:11:39 +0300 Message-Id: <1344417101-5015-10-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1344417101-5015-1-git-send-email-peter.ujfalusi@ti.com> References: <1344417101-5015-1-git-send-email-peter.ujfalusi@ti.com> X-Gm-Message-State: ALoCoQmiOQed/8QrIlpMqF7XFiOPTJi7ox3lehWrl1ryoJQ6i/suY3DmIRdnKqt3bCdUYNXJt3XB 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 --- 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