Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp79257rbb; Fri, 23 Feb 2024 12:24:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUj33yMaFSl3JVQx8be1aUyn0557A5KNxkpWL7Q8nBiEJ/WJg8W50AZeTkfQygGVUV35sP4651S+Oy6uG41ruXAt1uaqoepw0CYs7d8Fw== X-Google-Smtp-Source: AGHT+IHF6+b08HevvNKGCtUUAidycs6flnUYl/7YhPLB5Hawm6Ukm6j940NBo55HY37G4VFwgKer X-Received: by 2002:a17:90a:d30e:b0:299:ecd0:483b with SMTP id p14-20020a17090ad30e00b00299ecd0483bmr1020011pju.10.1708719857280; Fri, 23 Feb 2024 12:24:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708719857; cv=pass; d=google.com; s=arc-20160816; b=itBExY7TUH2YfgXFBEISGhKaEHfD5GlQ3HC1jxWhtYezPUh+ik2qgDWEPjleL3pzjc RtuNsWw87g1JnyqhyMpN4HVqQGGOndgZqQNPV+vbmkzLBZ6Dat7/5VLtQIq9iAthRKZn X6kV9O9wBlVLbqwNm/vsryz2DPgZTMN2xqOzTcPiE9aW6YU0t3Ue3hrvA0hxS6ozgSx4 sLNx1oXAPKZ6sT9kGZFqgTIDXgejbbZUvqstVw/SlDL628g+k47H2Ow5pBStKB1941Yc IjXu4+QqJCXbILvhzlqkA+BHZ8DmC5IP6973A4ilSvyokSIBgNbPjul13tP3QMvfWFzi /o0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=nXnADzyPSGAvMa1Y0+rYF9f2xEPPDT/I2KQwzDVVUZg=; fh=gM1fTaWoK9TL7webZ8yB3tcO8X47vwS7DNlJ3C0B/Lk=; b=KMFeH2+pEhgAEHwvoiYZpOgntXdEOuTEtyrIyvYe0BwRN08MnmKQaxKlN3ZJJn1zZ3 6KxQTSTvEHe4q+0X9D7n3GBf53X9VfbPmW9J5m+dEw/DWe2Ow7Z4lSWJ9Ne9xkOGUKWW uerAEbKvd4EnZeJeMnkAIvsZ1WEwqULOvRMb6PEIUImb1tob3W0j1re5Bt1bQKIABZ1s Jo/FSt6baE4uDnzkz0bpHN8uNn44HT6LksjIIE0wrwOL3d9iDmJHU0//DC/Pyli/jgk4 3NkYHX5O/H4lflRjI3wnSz/ae1m9Ik9//LZe4VfkrElywNQL5JdI8yZ3qk44wpU4o5y5 EiWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JkQyW0h7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g3-20020a17090a578300b002994211c0c2si1681227pji.81.2024.02.23.12.24.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 12:24:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JkQyW0h7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2F414B242C5 for ; Fri, 23 Feb 2024 20:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A90D214CAD0; Fri, 23 Feb 2024 20:19:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JkQyW0h7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FA90146E94; Fri, 23 Feb 2024 20:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708719556; cv=none; b=QTreNTtyuw5IuZ7jQ+gr3cKfG26tMNpwZ681y1eSQcSMW4kX+aH04sZ1zgP1y1yciLLFAR72zZh+Kv2gw2ao9763Vi4jywIrbLddVY/R2DvbAIAiM4gEWgWxAWGIQinXTMoOpZhLp/HzTTCfgbRopjDwyI1XophvCJNEFSiFph0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708719556; c=relaxed/simple; bh=Tita/JUXCCZaQUK9VD3z/BlM+pOB6MLFoH+QoKGPM7s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a5uvaHa1O0M4BhzE0gaLdAoqQ6KzZnVPTjZl+2vNKOb4ycjitlMzSlWOAUVITZeK5Wkwwh28sWK1VWS/cFTA4a3BhmUd9dlc0fBnEKDaxPleGptzmLamDR+KklcI7+y8IOr51+yuFHGcWJZM7kyzuY1HaWVa5BXKWp3sd4RMBQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JkQyW0h7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAB41C43390; Fri, 23 Feb 2024 20:19:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708719555; bh=Tita/JUXCCZaQUK9VD3z/BlM+pOB6MLFoH+QoKGPM7s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=JkQyW0h7mHwhLAa68bzlb5r8Q4FPbWtrQmrtPU8XU7QI4aUwtLZEIQPzF/1wHYLsk JhngJChXFjsTC80pcJAZI7orX+3kbRB8hQZpqcsik0yiEVsCs4EoL6FcQBJ/SfW6q2 3UAosM1k0sSK8mpv/ue3uZwpECIsPSO19qZSCR4nUMwmJb16UZPxdsC0FUSj4YjdAI jue8389cIF3hmfGw1bsRcjay2NaTulYigHIZwojwh9KQAzQ93mKr2Ek2xypVpIIE6o hP4s4o4qIf/8kko4nPO7fplwPkJ3FiLoovJnZLyk0e1JnfBZNiTrirgeyGDawVgUz7 qVCwCOdkiJLYw== From: "Matthieu Baerts (NGI0)" Date: Fri, 23 Feb 2024 21:17:57 +0100 Subject: [PATCH net-next 5/8] selftests: mptcp: netlink: drop duplicate var ret Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240223-upstream-net-next-20240223-misc-improvements-v1-5-b6c8a10396bd@kernel.org> References: <20240223-upstream-net-next-20240223-misc-improvements-v1-0-b6c8a10396bd@kernel.org> In-Reply-To: <20240223-upstream-net-next-20240223-misc-improvements-v1-0-b6c8a10396bd@kernel.org> To: mptcp@lists.linux.dev, Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, "Matthieu Baerts (NGI0)" , Geliang Tang X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=896; i=matttbe@kernel.org; h=from:subject:message-id; bh=2TF2DefMK5rCsE9EkAWVPU+W7O7ZdLPJZXqcYpu15OY=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBl2P2qljgRR881Jpgh4LE5QvrJMcRz3Dy6ITZZh CXk07trp1WJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZdj9qgAKCRD2t4JPQmmg c8S4D/4u+3kcCDRpA1MAJ3d+XaWUnFCkr/9Xoj4tJE3A5LM2vh9S9rdjTElxhRXAyC4OMaNHaMy c21IjmDJu5OJqIVLsl0ThDEINOOb5o9FA/rndh+DsQhJ6Qb7wxGo3nFk5AqkYHkjEAgVG3/28kb 2DI3Vz5m+BKX+Edz0yu91tAa3gWW9SVX3yRCQAZ+yfIKJq89elCB1UIdAzj5A3f0zxo57//4V5c tRyTlEDxQt8xMkwXvjZCrS3N/2AYz7IFwJJUskzTxrFCHaJUALs9UlExnNFZfpE7+NlTfYtcXHq KePO84bfteqDmYU7JJFNJZjKhZEGrdjlfzgaG/MTu9NxSPNuE5PHf/5JMgc4cJ33zjm/FXazAaT TA3KP8tbyVxYbmVkVqtq8097zgzZnmBnWjpfn/6WbblzKYU5MY67a++ATRq/cdAEGLuHxbavLFj gGJLm7arlSPdYtWoElTEj9wbBn9u/uPdvZaK8ZeTqB4xoj+9XiYgeYX4npxRD9mvulvbZgngz2s 6YyLPCKOACER9QCAfpoPU4p7TgBlZDepu01NPnwBJD5COwZzYDqaQS6VqZmySy6X3w3KjTBQ1xS uUyp8zIXokQKM/5T5MAG5SnJWbC09gaWTQQMYjBMZTtDvgpBFYdEZNIXe0bYw8guZiiFTceD9xR SQG135ia4xMRGyQ== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 From: Geliang Tang The variable 'ret' are defined twice in pm_netlink.sh. This patch drops this duplicate one that has been defined from the beginning, with commit eedbc685321b ("selftests: add PM netlink functional tests") Signed-off-by: Geliang Tang Reviewed-by: Matthieu Baerts (NGI0) Signed-off-by: Matthieu Baerts (NGI0) --- tools/testing/selftests/net/mptcp/pm_netlink.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/net/mptcp/pm_netlink.sh b/tools/testing/selftests/net/mptcp/pm_netlink.sh index 71899a3ffa7a..ebfefae71e13 100755 --- a/tools/testing/selftests/net/mptcp/pm_netlink.sh +++ b/tools/testing/selftests/net/mptcp/pm_netlink.sh @@ -28,7 +28,6 @@ sec=$(date +%s) rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) ns1="ns1-$rndh" err=$(mktemp) -ret=0 cleanup() { -- 2.43.0