From patchwork Mon May 16 12:50:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9103911 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C881FBF29F for ; Mon, 16 May 2016 15:40:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E74620154 for ; Mon, 16 May 2016 15:40:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7823B20166 for ; Mon, 16 May 2016 15:40:23 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4AFD72660B4; Mon, 16 May 2016 17:40:22 +0200 (CEST) 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 04BD6265A56; Mon, 16 May 2016 16:44:23 +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 D6582265A56; Mon, 16 May 2016 16:44:21 +0200 (CEST) Received: from mail-qg0-f65.google.com (mail-qg0-f65.google.com [209.85.192.65]) by alsa0.perex.cz (Postfix) with ESMTP id 8518B265D9E for ; Mon, 16 May 2016 14:50:35 +0200 (CEST) Received: by mail-qg0-f65.google.com with SMTP id 90so13525033qgz.0 for ; Mon, 16 May 2016 05:50: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=ySL8Dq8OVcObvGSfSchBpBjniW/5H8ygP40DHlxeRvc=; b=IChCAX3jI1J3x8YF7omun2ulrHvYpR93YoH55Yg+zYgagzVpxrhMd25490y7sV0IqC v08uUvP9vY2FJkmsIH1v8aLv6gZRG4qZJ376LqzKL/8iWBPBfkB/c5bS6NV3Q9Xn4qY6 e9xImX+kveLbiioOKaetl7qqtWF4Xz7BQjq0hbaptR6oeXFwgJmQm967a5k+oxTagBFW 2FXL+jU/0iopXSaCUZIvMjCIREY0x4upyNHEk/lk09JQR4yETpIyZAg9oMajmuOSagPl kONLry9j9CcEwdoO2eeXTLDvi0yOGxPK0UEBHcwVL4E9KrydvhaJRerGIRJkklt5RsX5 mtcw== 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=ySL8Dq8OVcObvGSfSchBpBjniW/5H8ygP40DHlxeRvc=; b=c0+2WiNNE/ZkjuY76VEaCahpNgcfTdpsPhDIWn0zKA3lGj+J3KM6a9MG3ZwVST0WZn CvA7CIofB76HIhoOcxxW8UE35sHT4mI+jCL4D7MWVpmXL7C44/0lPY7OCTGw2Gh5adGF 7VLGYrzCuss1elyoyX4ifauq4cQXXItTFujRTZKeJFzDC8g82LxtFNWG8D+pBKSJUyGl MpMBN8a9lZPLagPJIEoVPiL5D8Ty9u4gaPUskKtFV+m/hPGfK19NTVOze6wAYKvQ+VBo f+lR/PvMrFvYGjBvj7FcchX8JCK+WFDHephMy+HjOxj/mHjuZVaGiWmBGrtCG/j7GqQE PNgg== X-Gm-Message-State: AOPr4FVMt0kq3TCBt9jdEFrT6kocElJNxZt9mDVvqa1Cn1FtVxgBONFpEDjFLUrarHvr6A== X-Received: by 10.140.85.71 with SMTP id m65mr4254809qgd.90.1463403034355; Mon, 16 May 2016 05:50:34 -0700 (PDT) Received: from localhost.localdomain ([187.180.184.73]) by smtp.gmail.com with ESMTPSA id p143sm14829745qke.38.2016.05.16.05.50.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 May 2016 05:50:33 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Date: Mon, 16 May 2016 09:50:07 -0300 Message-Id: <1463403007-7719-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: vinod.koul@intel.com, Fabio Estevam , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] ASoC: hdac_hdmi: Remove the unused 'timeout' 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 From: Fabio Estevam Commit b2047e996cd88d3 ("ASoC: hdac_hdmi: add link management") introuduced the following build warning: sound/soc/codecs/hdac_hdmi.c:1721:16: warning: unused variable 'timeout' [-Wunused-variable] Remove the unused 'timeout' variable. Signed-off-by: Fabio Estevam --- sound/soc/codecs/hdac_hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index 3733297..181cd3b 100644 --- a/sound/soc/codecs/hdac_hdmi.c +++ b/sound/soc/codecs/hdac_hdmi.c @@ -1718,7 +1718,6 @@ static int hdac_hdmi_runtime_suspend(struct device *dev) struct hdac_ext_device *edev = to_hda_ext_device(dev); struct hdac_device *hdac = &edev->hdac; struct hdac_bus *bus = hdac->bus; - unsigned long timeout; struct hdac_ext_bus *ebus = hbus_to_ebus(bus); struct hdac_ext_link *hlink = NULL; int err;