From patchwork Mon Feb 29 17:23:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 8456461 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 5590B9F38C for ; Mon, 29 Feb 2016 17:26:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8AD95201E4 for ; Mon, 29 Feb 2016 17:26:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 52B9920138 for ; Mon, 29 Feb 2016 17:25:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 83E6D2619EA; Mon, 29 Feb 2016 18:25:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C821A2607F7; Mon, 29 Feb 2016 18:25:28 +0100 (CET) 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 940E6261ADC; Mon, 29 Feb 2016 18:25:27 +0100 (CET) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by alsa0.perex.cz (Postfix) with ESMTP id CEA932606D2 for ; Mon, 29 Feb 2016 18:24:04 +0100 (CET) Received: by mail-pa0-f41.google.com with SMTP id fy10so95123327pac.1 for ; Mon, 29 Feb 2016 09:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=CW6a21cNcaXTA/hSersyez3j7cBYDyo7DhyYAk6Ka+E=; b=wspndflK7JQUEVHCyv4s46oplEZiWzhBaRdFltlng9/WpQxA2bGZxdUSfeNKrKnMW+ lMpym/kVwUZLwpXxFWGepxu35unlc+1qI3ycYi++0DKiBm4PFBaCBvHpUhukVODbCyT+ B8bCN0XSMBSPhkoENdWZFqOc7tDthUudX/Ca8+jLV2W+HehOzGLdGiM85xuOf62+NQ6w g80gdaNRV0hudRd999cf34PSr4smKtaj30w3fy3S4znUah4O5fU+oLjXL6N7OpqLdnEL xkEkpqwStcG+1VLOTjvI944VNj6B0FwYr8YGGhOLDrA2/QwRik2/g21lWXvi1BRRzfhM jmkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CW6a21cNcaXTA/hSersyez3j7cBYDyo7DhyYAk6Ka+E=; b=WlW1iA/WpUDiC0H6HV4mHFti1g4DBDcsE9dJEUfRqN3vZAqCvksgPwyshuT8Rxqh97 tJAUuCd1FcdSlMY2K8f3/zQ8q+PKLOiPMXiUDKxmZ8iXVAzszRN8Www9bfgjSizAom0h 03W8D3U5DGwky4oFqRkB9Vr2nIgULuoMhEWx/DdSVtpaqRCeBnxLLj8p7cFZwE0m8GPL loQMRJzVZFq40fIk2I4MIOd6P1L978HFwc3epYVtZl5KZeGXaSpGjcLTWpMdDy+kyM8q 100/OA8Zms65EfvzVPOa5V+kSvqpOmoH+VDsH2PST/GBGNlHBwh6wjPw225lxRAEIHYY w5fQ== X-Gm-Message-State: AD7BkJJ/qleowvQHr8Vcw//+82i7reuo/wbqWo/1bTViZYl9tBcuwyeTopRfeeXCC5gsMw== X-Received: by 10.66.141.11 with SMTP id rk11mr23912706pab.75.1456766643867; Mon, 29 Feb 2016 09:24:03 -0800 (PST) Received: from localhost.localdomain ([103.24.124.195]) by smtp.gmail.com with ESMTPSA id 195sm39508021pfa.5.2016.02.29.09.24.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 09:24:03 -0800 (PST) From: Sudip Mukherjee To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Mon, 29 Feb 2016 22:53:46 +0530 Message-Id: <1456766626-20807-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [alsa-devel] [PATCH] ASoC: intel: remove unused variable 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 The variable cmd_id is only assigned some value and is never used. Signed-off-by: Sudip Mukherjee Signed-off-by: has changed to sudip.mukherjee@codethink.co.uk --- sound/soc/intel/atom/sst/sst_ipc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/intel/atom/sst/sst_ipc.c b/sound/soc/intel/atom/sst/sst_ipc.c index 3dc7358..8afa6fe 100644 --- a/sound/soc/intel/atom/sst/sst_ipc.c +++ b/sound/soc/intel/atom/sst/sst_ipc.c @@ -318,7 +318,6 @@ void sst_process_reply_mrfld(struct intel_sst_drv *sst_drv_ctx, union ipc_header_high msg_high; u32 msg_low; struct ipc_dsp_hdr *dsp_hdr; - unsigned int cmd_id; msg_high = msg->mrfld_header.p.header_high; msg_low = msg->mrfld_header.p.header_low_payload; @@ -357,7 +356,6 @@ void sst_process_reply_mrfld(struct intel_sst_drv *sst_drv_ctx, return; /* Copy command id so that we can use to put sst to reset */ dsp_hdr = (struct ipc_dsp_hdr *)data; - cmd_id = dsp_hdr->cmd_id; dev_dbg(sst_drv_ctx->dev, "cmd_id %d\n", dsp_hdr->cmd_id); if (sst_wake_up_block(sst_drv_ctx, msg_high.part.result, msg_high.part.drv_id,