From patchwork Fri Feb 28 23:41:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Reid X-Patchwork-Id: 3745391 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 72EB19F35F for ; Fri, 28 Feb 2014 23:46:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD273202AE for ; Fri, 28 Feb 2014 23:46:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 88D82201BA for ; Fri, 28 Feb 2014 23:46:29 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A3A47265D8D; Sat, 1 Mar 2014 00:46:28 +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,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 53D34265A31; Sat, 1 Mar 2014 00:43:09 +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 57B5C26599C; Sat, 1 Mar 2014 00:43:06 +0100 (CET) Received: from mail-ig0-f201.google.com (mail-ig0-f201.google.com [209.85.213.201]) by alsa0.perex.cz (Postfix) with ESMTP id 5F3DA2659A1 for ; Sat, 1 Mar 2014 00:42:52 +0100 (CET) Received: by mail-ig0-f201.google.com with SMTP id l13so323024iga.0 for ; Fri, 28 Feb 2014 15:42:51 -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=gFp8yCAXR2YfTm4RVKOiMlNkyv0Zg6FQL0MQmVKSzNs=; b=BIUw8VpJ0IiG07bNwj9kWE2RmCdbe7EE6M2CPQZjwK+aE39UHyMaVq4jXGpaUpP5qw mWFeQ3dnRBYlwhBNx3xV71cZW+yyNAIhPQBZ9u9d9UVtZrJkqSsvbb8OvVslCZ6OUwnr IsyXmwS5BuYFwMM7qwIzQawbOz6fiGBerEHdxUh14vH/KapKxwFNSd37X+YjU6EtbiGx /7SjbO0B+U/NqXkbdalP6tFbJg+S2FPZpxFnvQjiIRp8NeMFf4y0ZoJXjHFPAC9MSkmD ysXeIXun9J9bl3a23tHIuP/JkfktPVMkiNzT+jMGkxAoHvE56rkiUpdBdz6fdWHN3kCy Qcpg== X-Gm-Message-State: ALoCoQn5Z6NwpWfNdVxaKyp0f+piV3/m3ns5gS2a92aM0V/74pMq4/n4M2FVIrPayT9wD6YIvDdy5sBXAo6MH2JU5sDV1kd8Bnro+bw2p8v8ppowhjH1zaqieMY4hKGgo3NFWgLXR9KbMnmaLs6UE18SOzLdRfh4XCzuUa86p7O4UPE+2so1mA6CnydDVMjf7DAoAUBzO7vd1pFtMwjC91anWg1JU0jrKkrsmeMvDjEFR6VqYbyU/Fg= X-Received: by 10.42.51.141 with SMTP id e13mr5508127icg.28.1393630971313; Fri, 28 Feb 2014 15:42:51 -0800 (PST) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id x29si545907yha.0.2014.02.28.15.42.51 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Feb 2014 15:42:51 -0800 (PST) Received: from hojo20.mtv.corp.google.com (hojo20.mtv.corp.google.com [172.22.72.28]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 1822F5A428B; Fri, 28 Feb 2014 15:42:51 -0800 (PST) Received: by hojo20.mtv.corp.google.com (Postfix, from userid 123195) id B45DC18113D; Fri, 28 Feb 2014 15:42:50 -0800 (PST) From: Dylan Reid To: alsa-devel@alsa-project.org Date: Fri, 28 Feb 2014 15:41:17 -0800 Message-Id: <1393630893-29010-7-git-send-email-dgreid@chromium.org> X-Mailer: git-send-email 1.8.1.3.605.g02339dd In-Reply-To: <1393630893-29010-1-git-send-email-dgreid@chromium.org> References: <1393630893-29010-1-git-send-email-dgreid@chromium.org> Cc: tiwai@suse.de, Dylan Reid , swarren@wwwdotorg.org Subject: [alsa-devel] [RFCv2 06/22] 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 c4b6447..7cdb4dd 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1081,11 +1081,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;