From patchwork Wed Apr 8 13:04:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6179211 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 06D579F1C4 for ; Wed, 8 Apr 2015 13:05:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40D20202FE for ; Wed, 8 Apr 2015 13:05:05 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 0A85D2027D for ; Wed, 8 Apr 2015 13:05:01 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5DDDF26530F; Wed, 8 Apr 2015 15:04:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_WEB, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 15A10265310; Wed, 8 Apr 2015 15:04:49 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id A15AB26530F; Wed, 8 Apr 2015 15:04:47 +0200 (CEST) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by alsa0.perex.cz (Postfix) with ESMTP id 4DB8F26530F for ; Wed, 8 Apr 2015 15:04:37 +0200 (CEST) Received: by pabtp1 with SMTP id tp1so8659780pab.2 for ; Wed, 08 Apr 2015 06:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=o/3yyXma58gS/K/FemDOFcl0XmRmaEPyfoAxWEeGK8Q=; b=juzTtQmpcvAgVHa41Piu55hpuEhTSeWJd9jhE/bjPtUMzZtz1FtLQs7XpIM0J1O1G0 3DZ7FomFwniPAtnGBTFD8gK2PJZdbTskbsVxVtxeLdVuuxg+Mi13rcXXIOlYtyM7VP+L anCmnXs86O+KOeFBaYVT+MIDJSrjozeRcP2NFP8jl4t4EveHN81XDNgmGvj3iw4uDgEe sjMLe7uDyTIG36CRg6fGGDuNIhpM9VLFIlCvBsmZyhTOjnaOdCZbr+gezPWid/NLozRV XOJYXdfwfUdtRujCIrZdbG+95+PKlHQXGfsPbtEtkILUGVMSfGr41WiVo+ZoJTmSqhR+ ssIg== X-Received: by 10.66.242.79 with SMTP id wo15mr34243457pac.6.1428498275554; Wed, 08 Apr 2015 06:04:35 -0700 (PDT) Received: from localhost.localdomain ([122.169.147.27]) by mx.google.com with ESMTPSA id ea4sm11045852pbb.94.2015.04.08.06.04.32 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Apr 2015 06:04:34 -0700 (PDT) From: Sudip Mukherjee To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Wed, 8 Apr 2015 18:34:25 +0530 Message-Id: <1428498265-9066-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [alsa-devel] [PATCH] ASoC: Intel: remove unused functions X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP these functions were never called by anyone. Signed-off-by: Sudip Mukherjee --- sound/soc/intel/atom/sst/sst_pvt.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/sound/soc/intel/atom/sst/sst_pvt.c b/sound/soc/intel/atom/sst/sst_pvt.c index 2d74249..adb32fe 100644 --- a/sound/soc/intel/atom/sst/sst_pvt.c +++ b/sound/soc/intel/atom/sst/sst_pvt.c @@ -111,30 +111,6 @@ int sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx, } -static unsigned long long read_shim_data(struct intel_sst_drv *sst, int addr) -{ - unsigned long long val = 0; - - switch (sst->dev_id) { - case SST_MRFLD_PCI_ID: - case SST_BYT_ACPI_ID: - val = sst_shim_read64(sst->shim, addr); - break; - } - return val; -} - -static void write_shim_data(struct intel_sst_drv *sst, int addr, - unsigned long long data) -{ - switch (sst->dev_id) { - case SST_MRFLD_PCI_ID: - case SST_BYT_ACPI_ID: - sst_shim_write64(sst->shim, addr, (u64) data); - break; - } -} - /* * sst_wait_timeout - wait on event for timeout *