From patchwork Tue Sep 24 13:20:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alessandro Zanni X-Patchwork-Id: 13810970 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 8EB0ECF9C6F for ; Tue, 24 Sep 2024 13:22:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=HGiHdBTqLysw0OjzmqeOkmIi8HPVvmwCEfeNLRDsfSY=; b=WV5l2lMmaDq9wMM8bG3i80FcrE 5VNmsUsvdtZk6I0wDdzImVEMsjz2wAvWSGPvItQjwiG/pnDCAuQPUgrNl9bkJJXv1pIP//XfA9RnN u3tBBH+crOLhtOk3CZUobti6Vwe3wXuzq/XSSfy2xES7MjbeQ0/lx4iWtMpmzdsXs05fqDsClo1AU AoeBci7/5JiXqSDn2oUIPSRY6GJgCNEKsh4xBiAluza38bS/2TTshLnyqWxw/WeXiCYc2syt3edWN MKE2+OsZuX1DDGPymhF8S9biT9CQlFRG2AzK6/UJfGPSPgiJ/ZAVHSI166jdYeF1/a+0eezVaOasu Qd0X3sbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st5Ue-00000002QjY-3DwQ; Tue, 24 Sep 2024 13:22:16 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st5TX-00000002Qa9-0Jsc for linux-arm-kernel@lists.infradead.org; Tue, 24 Sep 2024 13:21:08 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2f8ca33ef19so27526821fa.2 for ; Tue, 24 Sep 2024 06:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727184064; x=1727788864; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HGiHdBTqLysw0OjzmqeOkmIi8HPVvmwCEfeNLRDsfSY=; b=mevO19cmBckzq7qtQTB4GCL/dkWlxVGPPQsDLnhBdyvi+jsOhvqU7uFWykRIHx8Mh7 Kt33UoyS2bBij29UEomWB5SF6AKWhw4NxyMfySi9HJSEv7LwHcEQqI0Iba+tbvSf7X08 mCXn0YBj6uEKmphBHKZBFJ3GUWMBQWD27Hz274JrnSLb6fC0zHTHAlx8PkKl/p5Mj+r8 A8dUjlG2UuLo6BIQvOFQjtvO+xhGJxTF3nE0rQYlWHWK832mbB+IccqsEi+tOUq/vYhC v/HOdn8m6ziEz1liIuuYvzuTUqcFtVPPJbC71m+htZeIZZqKJDk/QlYKzmgg6lpBKNbJ ySUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727184064; x=1727788864; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HGiHdBTqLysw0OjzmqeOkmIi8HPVvmwCEfeNLRDsfSY=; b=xMT2T08qVCRKowfeF7vkS38vLJarQdN/VNpcYxJsfHyS3VbioOvFNGhHHXVNjqkKsQ dy3t6QwvwTBDjLjVkJFPtVA6B4DHK88KwaK3MMg1sRVt6cwOyoRUwE/roTeRPuM6qIvg 12kwI+MxoQ5mFz8/dAGmzxtcP87pP/K42leEbYWq5qT1j0pwK66jinpqzSHZct9nm6gM 5wulCzCHYLPckVnt2qeIhMMnb2VOSNdFL+W2h/s4UX95qe7Qgz5HSmgQqDxb4UJ/TRE7 7yc2g73v+23Ucp6eAv9yoJar3t+yibkFakUTM7VA5KetGhwDCd9KgrIqhawm6/E2+2Qh c0Ww== X-Forwarded-Encrypted: i=1; AJvYcCWhXet8J9wMhx6gpQuqu3Qm+bxvvBbOrAza/zjt1NeP7ihEmFDXKmElY9NVcwJv9WxAXosTCkLAf+s8WrHYv7gT@lists.infradead.org X-Gm-Message-State: AOJu0Yw4s246l6qtovqhj255ydqCfPlkhM3HoPmFVtEFVE0wJ3oJXnE5 jpqe4FxOfynySGW79dkLw4cJ1J/kxPP4WCrfHnkjhKCjo8eFCYTt X-Google-Smtp-Source: AGHT+IES6841pfRu7wJ1fE8tkWFVUP5yKx2Qsc59u66WH3eAZk+D5jBuwd6qXnDnBFP0nUtZ0Rx0xw== X-Received: by 2002:a05:6512:1196:b0:52e:933f:f1fa with SMTP id 2adb3069b0e04-536ac3464a8mr9490004e87.61.1727184064078; Tue, 24 Sep 2024 06:21:04 -0700 (PDT) Received: from alessandro-pc.station (net-37-119-39-155.cust.vodafonedsl.it. [37.119.39.155]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93930f7b90sm83978866b.175.2024.09.24.06.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2024 06:21:03 -0700 (PDT) From: Alessandro Zanni To: nm@ti.com, ssantosh@kernel.org Cc: Alessandro Zanni , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, skhan@linuxfoundation.org, anupnewsmail@gmail.com Subject: [PATCH] soc: ti: knav_qmss_queue: remove useless statement Date: Tue, 24 Sep 2024 15:20:23 +0200 Message-ID: <20240924132025.22046-1-alessandro.zanni87@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_062107_136560_2A4F8341 X-CRM114-Status: GOOD ( 10.21 ) 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 Remove the statement "continue" at the end of the loop where it becomes useless. Signed-off-by: Alessandro Zanni --- drivers/soc/ti/knav_qmss_queue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index 6c98738e548a..1cc54905b398 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c @@ -723,7 +723,6 @@ static void kdesc_empty_pool(struct knav_pool *pool) if (!desc) { dev_dbg(pool->kdev->dev, "couldn't unmap desc, continuing\n"); - continue; } } WARN_ON(i != pool->num_desc);