Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3943119rdb; Mon, 11 Dec 2023 04:49:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IHX+sC9m6M6kfWjxx3Y+azPGjmo2ybGLtHf0uEmmWNptAYxdo2rxibGg4PA7IZrO3eypAzk X-Received: by 2002:a05:6a20:4c8f:b0:18f:c861:a2e6 with SMTP id fq15-20020a056a204c8f00b0018fc861a2e6mr1632160pzb.11.1702298980968; Mon, 11 Dec 2023 04:49:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702298980; cv=none; d=google.com; s=arc-20160816; b=KkozoAw+X8IwvNSSmlbrgGRmWX9FfnOG1pVDRAmkocXu2yDXllLk6OkqNXmbAQKAKr GqU3eAMDwJVGeGzswa19ZjIyxYnHCt6jsz6LS+38/RZo2j6xrabPZDky/Jm6pNvkenBB eK4ImKq5YB09puOB9iMkWL+STtYxeGoVxgZF7wRI7qFCuDWDGHBs5V/iO5/YqTkkcfsx UtuCYdW+mAcXm3FLDrWW0AM9ni8bilQgVuz94IgUzqZKDgCP0ImEVuJeqDVL8ss2tQ0w qxR9tDGlGPRUXLvlHCM8iNxBDep8nRghbGtx6j0ltFPPsrXPJmsxH+hGCQ+6GQYpptFc MYIA== 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 :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :dkim-signature:from; bh=+3ovit8JRev9mIgnPEoYTIqblldYPcpSv7qLZTfPzw4=; fh=FpEFgSTsD9KOdZrv5i/8e/czx6Pnhsq5lU2kOotSX/I=; b=Z2y2Jlv7bR0cXi+vSYzbZnQvKt176tFR++15vox88tM9gRTLWpffOLhUu3Z3Ak46vs 3eRPJjscmF71MLgsh68mjtVKkIhnqF/tHjCfgDJhzboNB62Q5DrAUbSKMG9XYtMt6/nK Q9+hnnvz2gekRvp0WJSyf+tWWyilxhMxn8pnx6lJGR3kl+nnbpOiitvv1yOGcR31MbfX tlc3qs4ffPV9v4gNO1zmgEMe3TDJYFVH9tl9eiSB6jUGzoRvz1FuP6Bsi7enOxE4tOkk EguGRIblseQXU1bbdu+j4ecPpiCEkkFZUkw1Z9TLXMtluc4JjIEZOWBBNJwu6Yr3KoYu BGmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4JJ2Qk72; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h16-20020a056a00219000b006ceda12a350si5705360pfi.227.2023.12.11.04.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 04:49:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4JJ2Qk72; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D5117809FC8B; Mon, 11 Dec 2023 04:49:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343535AbjLKMtX (ORCPT + 99 others); Mon, 11 Dec 2023 07:49:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343499AbjLKMtV (ORCPT ); Mon, 11 Dec 2023 07:49:21 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96918BD; Mon, 11 Dec 2023 04:49:27 -0800 (PST) From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1702298966; 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: in-reply-to:in-reply-to:references:references; bh=+3ovit8JRev9mIgnPEoYTIqblldYPcpSv7qLZTfPzw4=; b=4JJ2Qk72dcJdeAaIHuGjup/kSea+/yooYgkZFiT0qzQcBSSLz9+okWoWsNtpQ5p/XSqNF4 EcIkOBZ5m+FV11RvcGy7ew1w0WCdwu1hN7f7r26WWRL/XzntVMOoWLTrkD6wkH9fSuNzcH MhriVyGNZ6LpKZwAIYRa3CqO9hui47wMIhWxMbcnLSR2MDFECU+x86OrgRfpvzsIRhwzhI CwYwzSV8k7a3PcYWb2NNPhdLLCkvRFghJ2frebp2yQp+hnWkIrehoovWF1Jie+DUvOXZkN 3A0M2D64VpPWkroKDJbAohZ/S6NvBHWYmm7Rj3Ipap22V2cqMtHRQ2iMPiIF4w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1702298966; 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: in-reply-to:in-reply-to:references:references; bh=+3ovit8JRev9mIgnPEoYTIqblldYPcpSv7qLZTfPzw4=; b=0iOZd71mxsCF/WKwjF1oAFTITnAJpc2esvPgdpjOBoI3gYWbFnaTE8Sbu7j60dj1EtClZr iwdCa+vhjo9MS6Dw== 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 2/2] spi: pl022: delete unused next_msg_cs_active in struct pl022 Date: Mon, 11 Dec 2023 13:49:15 +0100 Message-Id: <424fec01a75f6a881edcce189ac68b3408b62f29.1702298527.git.namcao@linutronix.de> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 11 Dec 2023 04:49:40 -0800 (PST) The member next_msg_cs_active of struct pl022 is not used anywhere. Delete it. Signed-off-by: Nam Cao --- drivers/spi/spi-pl022.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index fd21e83cc3a4..3baf45da01cd 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -341,10 +341,6 @@ struct vendor_data { * @cur_msg: Pointer to current spi_message being processed * @cur_transfer: Pointer to current spi_transfer * @cur_chip: pointer to current clients chip(assigned from controller_sta= te) - * @next_msg_cs_active: the next message in the queue has been examined - * and it was found that it uses the same chip select as the previous - * message, so we left it active after the previous transfer, and it's - * active already. * @tx: current position in TX buffer to be read * @tx_end: end position in TX buffer to be read * @rx: current position in RX buffer to be written @@ -372,7 +368,6 @@ struct pl022 { struct pl022_ssp_controller *host_info; struct spi_transfer *cur_transfer; struct chip_data *cur_chip; - bool next_msg_cs_active; void *tx; void *tx_end; void *rx; --=20 2.39.2