Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4451389ybi; Mon, 3 Jun 2019 11:04:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwp+kfwinqVo0xfXW/We4xQJcOtHlHlhOS1OdS+mT1wcHhQcer2PfaWyO8wRGgECG/tptoq X-Received: by 2002:a17:90a:21a8:: with SMTP id q37mr32148983pjc.5.1559585083073; Mon, 03 Jun 2019 11:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559585083; cv=none; d=google.com; s=arc-20160816; b=ZqZR8AhGl6WiDFyk0XyN/8fmUJXyEuJfUsD3wn+nhKR7htfI8xUF4fGfFQ1KtDtyQ2 C2+/DzxMFPTL0pJIkjndye5S1gc2VFahHdx2M04mbyEO55BOnfNyJG7XD7/CpO2eAUHY yDnvXbKAV63yGJc1p6z6si8Oz5rBmpWbM0k9I774PFBJR9EiTjbdpqlrkk5ei4h7uYmz ygEzsA61E2Jg/OZUQtRxrnVP79rpkQuboN3jttaXist4FV7Q+XIOTghTBmyLGklNuU2N n6nP+SEytjs8i4w+19CRTHShpdu9sF5mfHH6HziFR349KxOOmtNOJHKX22oM8DoedFdW r3EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=ma35thperYGWyb/nkjWyegfRbpj87ZHQlb98QF7Ppqg=; b=adR7q54TIYFWmrDeGSs2pahk8VKVbrtDoxdOZFsBqDntkjfe2bhox30BQwsHMd1OKX fxMoKbkxszXPnksdZbo80O6AhNn1vdxYyKuppIzqxQVbyp5cHMp10N90YEUdgP6Q7p1m nDLSi4FVIrumZSuk7AYhseAp78SRiiad5RTLBodx4PX+ZmBc8/TNGeVz9LOOTNUKnYR0 BNbTuV2Sx4FAqiscqz3qwkjour4vJl0TLERl67Km4JKh5zh+VlBd9vZQfHoHKyZtiK4/ rrAMrDK1y1OBvuUx/XVViy9Ad/Gjt8L/X1KuaOfvgq/MJ5zrcJuhjQAPKl9HhsLNndS+ TjHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=MacOEriO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si16605660pgm.524.2019.06.03.11.04.25; Mon, 03 Jun 2019 11:04:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=MacOEriO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726762AbfFCSCy (ORCPT + 99 others); Mon, 3 Jun 2019 14:02:54 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56568 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfFCSCy (ORCPT ); Mon, 3 Jun 2019 14:02:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=ma35thperYGWyb/nkjWyegfRbpj87ZHQlb98QF7Ppqg=; b=MacOEriOZ/v7 nuQEgHWOdboZ17Tw2BaNzgeiQmEEvvL93bfSbzUj62TIG00QKGp8rcP1m4hyHfYhVRtSJje45fL9O zpVFui3og9JLXDxmFvYsW8vLkltfLZzo7tZgvrPzBXpiJ9gN9ubQTiFpmBoEinpaBKk7xUef9q0VX 2xvAU=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hXrIJ-0003ay-6h; Mon, 03 Jun 2019 18:02:51 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id 9792D440046; Mon, 3 Jun 2019 19:02:50 +0100 (BST) From: Mark Brown To: Jorge Ramirez-Ortiz Cc: agross@kernel.org, broonie@kernel.org, david.brown@linaro.org, jorge.ramirez-ortiz@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Mark Brown Subject: Applied "spi: qup: remove unnecessary goto" to the spi tree In-Reply-To: <20190531144636.27843-1-jorge.ramirez-ortiz@linaro.org> X-Patchwork-Hint: ignore Message-Id: <20190603180250.9792D440046@finisterre.sirena.org.uk> Date: Mon, 3 Jun 2019 19:02:50 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch spi: qup: remove unnecessary goto has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 3594bfa265da38dcfbab2312ddaff39711b98857 Mon Sep 17 00:00:00 2001 From: Jorge Ramirez-Ortiz Date: Fri, 31 May 2019 16:46:36 +0200 Subject: [PATCH] spi: qup: remove unnecessary goto Remove unnecessary condition check and associated goto. Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Mark Brown --- drivers/spi/spi-qup.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 974a8ce58b68..314d91b95a16 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -842,10 +842,6 @@ static int spi_qup_transfer_one(struct spi_master *master, else ret = spi_qup_do_pio(spi, xfer, timeout); - if (ret) - goto exit; - -exit: spi_qup_set_state(controller, QUP_STATE_RESET); spin_lock_irqsave(&controller->lock, flags); if (!ret) -- 2.20.1