From patchwork Mon Dec 11 12:49:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Cao X-Patchwork-Id: 13487185 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93BF8C10DC3 for ; Mon, 11 Dec 2023 12:50:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=co2yw2pX2RukEx1Uxpyz6mJL5qhmxSbhruKjA7PBO/k=; b=g/nRuov7oGX/Og duF4Cl57ovfY9o5kvlbeymNtjRPszDCpvExELctgmlWGD9z98Ni80Dv/EU43y3oqcJbSTsrCHixKQ F9lXa9PDG0nRSp3I7102VNwtnuqc+o1bQphjPsvfgVTPiIITiJlNJIonh+Gj7iexW71z9RQiUgHxJ 9k9mgZqCPxxBLjezZXpCb0AsacA8rjz2GLRuixi2t/qopp8bNLYC2AMme4BV7/EHPggStSipDBThS znHjlCD8buwFTLmwNXJfXzk721AorGGwki8UkhcqKrPbN+EAyCRZkN2yoCBylldkXKgo3kn2s1hf5 yusBDG/s2Mfu+OTb7fEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rCfj8-004tE3-0W; Mon, 11 Dec 2023 12:49:38 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rCfj2-004tBS-0b for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2023 12:49:35 +0000 From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702298963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KqyDGuj/w90Sx5xoRurtUb6bEnCDz+4edCPtCIkEmrY=; b=Ou/7GHgSj9OC6v5cZHEAucYkp8ZgWC7PIRySJJUMuuB0QxMY6kRftjmpGRCaweTVMs6aZM HRhNSBNBj4RgtbKvda4SmmHBuKIbKMtk9xR+8VmA3w+RhMEfH3TLLjH0yUk3sL8JECjOXd U5k6hDtWXwO+ubt3F8V2F75SmBiOei1gN2WBPAMyq+FbvpCZeSHkiOtOplP43JseLDA8is OmTDrSYj5Vu11n3q4hyb5e7EmUxx0kGpXWzAE1OqTx1nazQd6hb2Xuj0SRgS7qAnxa+NK9 p07QLbnuEOpvLDgNqb/g1SnYVgXBDym4iEMM0cu0IHHxkA8PS/whGpMfcAJlbA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702298963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KqyDGuj/w90Sx5xoRurtUb6bEnCDz+4edCPtCIkEmrY=; b=SCXzl3uy5iPrX9/PncfXnfqjDYhldsZUhj+dasLW8ugUN8aZRFX4zSHW6mscyoQQNExx7d ok0rkCJbEzWw31CA== To: linus.walleij@linaro.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Nam Cao Subject: [PATCH 0/2] spi: pl022: clean up some unused variables Date: Mon, 11 Dec 2023 13:49:13 +0100 Message-Id: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231211_044932_492562_3AA83EAC X-CRM114-Status: UNSURE ( 3.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The driver was refactored in 9b2ef250b31d ("spi: spl022: switch to use default spi_transfer_one_message()"), and some variables are now unused because of that. Clean them up. Nam Cao (2): spi: pl022: delete unused cur_gpiod in struct pl022 spi: pl022: delete unused next_msg_cs_active in struct pl022 drivers/spi/spi-pl022.c | 9 --------- 1 file changed, 9 deletions(-)