Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1819315pxy; Mon, 2 Aug 2021 11:00:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCphmDOTv+xJFPnbTEMZ1PlIFlSZ9mqcZnPXCZuHkxKwnHs/5eUSX7qNYBwCDaajOdzOD7 X-Received: by 2002:a05:6e02:78a:: with SMTP id q10mr2037599ils.229.1627927224344; Mon, 02 Aug 2021 11:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627927224; cv=none; d=google.com; s=arc-20160816; b=hQdYLHao6QNQeEn1KikDir62Yg6LiEBQCLMJM61tnSGd5HUWmpSwn5lW5Txq/0jBo0 ER40L1/zCkpIwUliT3XCDZQGuDQHmGctXjZEctv4crKh6um7L3GV+uU5AByQOXuLTwy2 F6U/vKa2QBkP9mFsCHJckRvG7LUcGT5ulIkARSCA+6xTkflmg0WxFopJY8+k1pIjABlq kjG4QxNzX6BsnBy0EqDNVjKtFcJizoU2fAlxJ+iK95Eo29QjsS95Zbn8xW/GznuEb6UH oU2f1FN+YczaSm7C2p7jl9Hf3gX3UumLpTSI65DMeurARiN9aXKICWyt7M41yPDohv5i mDbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9NvEsn8tQayk7qGYbqXxWW/9POV3080jI48e1XOloz4=; b=IwcLGTv0BkVGOWpp5s1Ihl15Yfvb8Z/OE+DgX9iCtXs8y2GiNBqwcU5eI7zvny3bGO AfyL8GUSHQ0lpshPCqNcv9JX/7Cfva1Hg7CRtvkfYWx/kz88hk0UTLvU2/dP+DstvcyV qtzBo6132GI/eRBg1LZbibvb5OFAunQ9B0gchQC2+ysH9PPnIwj/98BEpyU+LqHerH3Z AWJhNMIdUAA3RaLZUYX8zC7DV/cUYwt/HHfjGi5dKfX4s+GsPEDWouH+EFtI8mN5V56w lzmelVcB1+vD4StE3gFP9EoPQhNwdSYvZ9+8HHhENOzv2RSB0SoKD31h6tWLqWOkPKbn GaAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rqSv6ZzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si13028503ilq.43.2021.08.02.11.00.09; Mon, 02 Aug 2021 11:00:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rqSv6ZzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbhHBR7W (ORCPT + 99 others); Mon, 2 Aug 2021 13:59:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:46378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbhHBR7V (ORCPT ); Mon, 2 Aug 2021 13:59:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CFB8560F36; Mon, 2 Aug 2021 17:59:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627927151; bh=p2bimcFyooMiWfuzIHWPVSMsxEgQ3syfqjsJYTwa74A=; h=From:To:Cc:Subject:Date:From; b=rqSv6ZzS8Cy6wOzqsZ/uYMR0jdGwsihqbykoYF1QtAK98DMl7i1EJyW4QNWAt7ZRj G8QQjRbBROd6vkBUhcysKf1WWkkN6LMGfCtKriy3Tb3a/FQ78u8W4uHlcGCQvdnVcA qzKGmj48MDRY4Bs7jRy/js+rtZbCMamv6EQTsybHG1WSG3exz5zYGiiAtBs6skBOHK TGtQ2HEy3ZKwOPfmNd6QAQs98IIHsZ/ZoRJIXXydnDnu1p2lA6i/ziose3fS6CotGh QibgYeam0dq86HIv8LsGzPPzOx7Isy8VO6YgigGcxQ8vVazRGc0V/NDIAgU6AkUc2g mLTUQOsTIuudQ== From: Nathan Chancellor To: Dave Jiang , Vinod Koul Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Chancellor Subject: [PATCH] dmaengine: idxd: Remove unused status variable in irq_process_work_list() Date: Mon, 2 Aug 2021 10:58:20 -0700 Message-Id: <20210802175820.3153920-1-nathan@kernel.org> X-Mailer: git-send-email 2.32.0.264.g75ae10bc75 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org status is no longer used within this block: drivers/dma/idxd/irq.c:255:6: warning: unused variable 'status' [-Wunused-variable] u8 status = desc->completion->status & DSA_COMP_STATUS_MASK; ^ 1 warning generated. Fixes: b60bb6e2bfc1 ("dmaengine: idxd: fix abort status check") Signed-off-by: Nathan Chancellor --- drivers/dma/idxd/irq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/dma/idxd/irq.c b/drivers/dma/idxd/irq.c index 65dc7bbb0a13..91e46ca3a0ad 100644 --- a/drivers/dma/idxd/irq.c +++ b/drivers/dma/idxd/irq.c @@ -252,8 +252,6 @@ static int irq_process_work_list(struct idxd_irq_entry *irq_entry, spin_unlock_irqrestore(&irq_entry->list_lock, flags); list_for_each_entry(desc, &flist, list) { - u8 status = desc->completion->status & DSA_COMP_STATUS_MASK; - /* * Check against the original status as ABORT is software defined * and 0xff, which DSA_COMP_STATUS_MASK can mask out. base-commit: e9c5b0b53ccca81dd0a35c62309e243a57c7959d -- 2.32.0.264.g75ae10bc75