From patchwork Fri Feb 28 06:35:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Reid X-Patchwork-Id: 3738931 X-Patchwork-Delegate: tiwai@suse.de 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 22EA89F2ED for ; Fri, 28 Feb 2014 06:43:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6646520263 for ; Fri, 28 Feb 2014 06:43:22 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 37F3720125 for ; Fri, 28 Feb 2014 06:43:21 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 48C2D265A8D; Fri, 28 Feb 2014 07:43:20 +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.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D725326591E; Fri, 28 Feb 2014 07:38:15 +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 3B0A6265909; Fri, 28 Feb 2014 07:38:09 +0100 (CET) Received: from mail-ie0-f201.google.com (mail-ie0-f201.google.com [209.85.223.201]) by alsa0.perex.cz (Postfix) with ESMTP id 8224A2650A9 for ; Fri, 28 Feb 2014 07:37:13 +0100 (CET) Received: by mail-ie0-f201.google.com with SMTP id at1so711767iec.0 for ; Thu, 27 Feb 2014 22:37:12 -0800 (PST) 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:in-reply-to :references; bh=acUpxR3Vwp7k81OtPlCRtWF9/z8k+zsvzT4DJUCOiQM=; b=CVBGxGwZdlmGGTL9ESFRAwkNf1JYckwbMATRKuiNlaaJMFrsTMTBnbX462IbFvC2pb PG7/ZqF10+BpPrCl6hEVAPnMHnqK+2PQHMuLo7xumiLob+rprfZCUUeI3/orNwMe4QOP NHf6kxsVZQ90VBoq7SC2VWS0Ni43cCRunU5xZs/4uJPcuopI9WsWzh/80qmwVviMEt50 pyc2HGiX/APzf4QCKIkLxsTyD6L5gPnH4Rx6nucKSZ8oPf69Xj4UGIwP042ErZwnoHpc 2jIjoPN1fWE8hSJTdmPKQ0/xlvzPlYRFd98quVWhiSYp3Ant7ZlfP+Rrd5mn3QQ9hg0z I9IQ== X-Gm-Message-State: ALoCoQkDYQ/P0PZgHMjEtYAuXmOv8odZeagchhiSL8F4jPI11aIs90mKeYPARV/BcuXxgKWP1Tja0xKwA1h3qSTJh+YqP6x9Rvgxb7ei8Ii6FhoDlKOSs75+w4nygRiIFeyhJ58jwA4HiPOyjaBg9Q8K7exzlvlVROJaYKVIoaenIeBziOOE12YoCp+FJZOfcIXlTnr0mc/9b3JIei7foiUobIscKqQtMtwDx77HXKRAjP3dmGjbTLA= X-Received: by 10.182.55.102 with SMTP id r6mr6029261obp.7.1393569432630; Thu, 27 Feb 2014 22:37:12 -0800 (PST) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id o7si114106yhj.3.2014.02.27.22.37.12 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Feb 2014 22:37:12 -0800 (PST) Received: from hojo20.mtv.corp.google.com (hojo20.mtv.corp.google.com [172.22.72.28]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 73CE231C2AE; Thu, 27 Feb 2014 22:37:12 -0800 (PST) Received: by hojo20.mtv.corp.google.com (Postfix, from userid 123195) id 2CA10181FA2; Thu, 27 Feb 2014 22:37:12 -0800 (PST) From: Dylan Reid To: alsa-devel@alsa-project.org Date: Thu, 27 Feb 2014 22:35:55 -0800 Message-Id: <1393569362-27285-13-git-send-email-dgreid@chromium.org> X-Mailer: git-send-email 1.8.1.3.605.g02339dd In-Reply-To: <1393569362-27285-1-git-send-email-dgreid@chromium.org> References: <1393569362-27285-1-git-send-email-dgreid@chromium.org> Cc: tiwai@suse.de, Dylan Reid , swarren@wwwdotorg.org Subject: [alsa-devel] [RFC 12/19] ALSA: hda - remove unused clear of STATESTS 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 Although the code was updated last year the "#if 0" surrounding it dates back to the original git commit. The function will be moved to a new file, no need to carry the dead code. Signed-off-by: Dylan Reid --- sound/pci/hda/hda_intel.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 7797f01..00f4482 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -459,11 +459,6 @@ static irqreturn_t azx_interrupt(int irq, void *dev_id) azx_writeb(chip, RIRBSTS, RIRB_INT_MASK); } -#if 0 - /* clear state status int */ - if (azx_readw(chip, STATESTS) & 0x04) - azx_writew(chip, STATESTS, 0x04); -#endif spin_unlock(&chip->reg_lock); return IRQ_HANDLED;