From patchwork Wed Nov 22 11:30:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 13464616 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2046.outbound.protection.outlook.com [40.107.21.46]) (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 05FB84AF66 for ; Wed, 22 Nov 2023 11:31:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="xzmokxa4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QVE41iH9y1nMuLbGTNmlSCcCg47SOyZXa3n56zx0C/t5/Ih6+iDXu0bqqrWNgeEFWjObJFEJRH/EDDgG6ytyxpVB5MTuA+AvoTmBTivdJxwM3/aXosIagORhiBIE/gIn1MN8EGOh1EzUv192jxIdeLIWSL5fWxeLlJ5M3Row+ON2ohJdmazW98rcltrLdeLPMbrmwLlD9E5UPuYHe7L1X+UTJvw9MEyWM0cbqhYX45lJ5iQLVgJoPtz23PIuSZc3xOw+WEpre0EPzlBrVjYP6zIHrcVBbnSs00wDsuE5G67I6Dv3iCeL8u9lb/8RcNQcPFTZuXOIpBXLGV33N3gD4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zsRv6aGr6mmmOPvTXHhXyzuRdf8FIBdg1IzuxNO8OK0=; b=aIWXmWjgNKefj55g7weosEODl85LuOubovr0SdVLwDyZIUe8S43yF2+q/vWi+CowEplyE86GNxe21N9quKHynhEMt4KJ8MFDYsShQk3oExnhHOuOkeSOQ/eBiiVmdUMoG+yKDF7LXG/vxyuWjWRVdrLQV87gz86IWUmO0jTJeuXIPX8+xI+44q1RgKO8b3p8HwSJal9yZoHb0lbbiZuGZ9dAp1uUn78X20uDYJx62MFutcl4by7Ab4PYxg1N5fwx3fC41oNq6lifPU46wfQeQs5iKOWy+m6W1Z4WaVlX2pzghlelAmiwimU3d1pGB1XHZEPcCrLg9fxlZ8F/w3AMbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zsRv6aGr6mmmOPvTXHhXyzuRdf8FIBdg1IzuxNO8OK0=; b=xzmokxa4Wd7ilRBpMOJiYHgsJgdEGYCYjT4mP7LPQiUQ/6+E1Q2uP/6H7yOhBixvR/sawePc+5MfXphpv6vsM+kruOXlU9+alj1gBh0d298VCoS3gXB80wO0c0WAL9Ib36+VI2hKOq4sIEytO6jxNVZ9lmelILxEccIMjkagwOdftHYNbm+u0zrD/YEyIQCP9pZ1+gHaBQxLH+JNaQU2bzcoBqrJYGK/ES/qpbH9fSlQlx3egksDJgUM3TTLq7iXa7+GsVpfzQpTptDLIIXSVKeWyqJetAOz0MlHkWu/Sx4LE+Zx1L7gEgoyoX2+78uSnOkCO5n8fKhN9aM59B79CQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from HE1PR0402MB3497.eurprd04.prod.outlook.com (2603:10a6:7:83::14) by PAXPR04MB8333.eurprd04.prod.outlook.com (2603:10a6:102:1c0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.17; Wed, 22 Nov 2023 11:31:45 +0000 Received: from HE1PR0402MB3497.eurprd04.prod.outlook.com ([fe80::7102:259:f268:5321]) by HE1PR0402MB3497.eurprd04.prod.outlook.com ([fe80::7102:259:f268:5321%7]) with mapi id 15.20.7025.017; Wed, 22 Nov 2023 11:31:45 +0000 From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next v4 05/33] selftests: mptcp: netlink: drop duplicate var ret Date: Wed, 22 Nov 2023 19:30:53 +0800 Message-Id: X-Mailer: git-send-email 2.35.3 In-Reply-To: References: X-ClientProxiedBy: TYCPR01CA0016.jpnprd01.prod.outlook.com (2603:1096:405::28) To HE1PR0402MB3497.eurprd04.prod.outlook.com (2603:10a6:7:83::14) Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0402MB3497:EE_|PAXPR04MB8333:EE_ X-MS-Office365-Filtering-Correlation-Id: 00ba8e66-4dd6-47c9-fc4a-08dbeb4e9b5b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IE844gft6xERWYklI9o2pzJHQI/RtIkmJR2KhQCPzJqyRvTqhg0dyx8MUNNhgXWgnuZYT+9FBnDHpiWG6P3WXV2m+U+hc2VSu8zCqgXfM/ef3xSUGNNH+I6j/u7w9SpEAx87HiMYJoX5Tk5CCJqX5IkYrV2ypSBWy+vmPLD9lhv8ex0GmTh3zMsOy/ja+IKGuvH4RCFN9SN3c7M5RzqwsigITx9F4GPVCFsOA/UggqexaPFNUUFmdOwQDYlGn64Z2nylWvUVMDklPsPv0zv9yhrtLEab8i8GhjpFrahUhFp/TtuBexqy6BKN+pSAE/qtVodQnQ3MaS8tXp+6rSYBvfvZ/ev01QfYU5027AQqA3jkb57S2medukn4vA9I6wovMSe49Ua0Bb5IcLNpiYTLodyXwzeZMhdVwGJeGyU1p6YwAg5/hAeozD6EwH5HmXL6DLqqrrfpBCsTUsbxqiftGwxJ9mZ1rfob1YnzpH9hMsAtE1spPhlFal0WSbCjsmlAvzLTj+40z6pOnsyjm+P6z9KuCm4BFhpYvUQo+2eyPBlvYdStonxqNxlQp/gnWzVYCL/SV2roJzJ3WEc7kpjSfFI76rG2ZPxhFx3kDlqCFCo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0402MB3497.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(396003)(346002)(39860400002)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6506007)(2616005)(107886003)(26005)(6512007)(6666004)(316002)(6486002)(478600001)(83380400001)(66556008)(6916009)(66946007)(66476007)(44832011)(4326008)(8676002)(5660300002)(38100700002)(86362001)(8936002)(4744005)(2906002)(41300700001)(36756003)(13296009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: waeJ61meb3odJhSSwi+VHDqwUz5DtyD//7MvKJ6IsGdvHJNG+Ai3GtuPAUZUyVetcgf0sPrggZTPEleXYDFLgorgOHSBDVkz6ZJyaI6AipTlmletk3rEccM1lSnVpUvdZE1Zo5P0nH1k+4qZVDGhnCvEei0A+zIrAHWEf7PahiLiqGhwEe6AjWjsQNZpIlbkm/o8608bqmQDExOFKmfw3GPJrI0XScKYofFM5mrqirO6H2rwqsqXy4w7sB7jdJdtoVpsuv2+5A7GR060fMJl+raOw7vHDQUgMLvTRsnnUHzsP6YhQwZF6L1E0Evq1IzRftLpQCurOvee8vXMxaYMBN9cteDosY4z6OVaJPWXLiCNKzsSHSGRNZw0YzqLyA+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34TbS2B+zhVZsCAPn7wuHzaFQRZchLvnLIjIljSP6PBEB47c2W1DpvmLtiBfu1awJrc3Mqg8UjknpFmoxuafUij4jQPbnZbCNy5juMRmc5CSNuxdCC9A2ABfSg42QXyMf X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00ba8e66-4dd6-47c9-fc4a-08dbeb4e9b5b X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3497.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 11:31:45.1766 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Unt+ij7EGLsAZRYHzHsO+6KUG2bAPBdBt0RFn1ZrPlrFfLD/9iPyeJyzcor8gZ+80COHJknXuqxhhc4sszvf9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8333 The variable 'ret' are defined twice in pm_netlink.sh. This patch drops this duplicate one. Signed-off-by: Geliang Tang --- 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 8d30d4a1db57..e995dfca52cc 100755 --- a/tools/testing/selftests/net/mptcp/pm_netlink.sh +++ b/tools/testing/selftests/net/mptcp/pm_netlink.sh @@ -27,7 +27,6 @@ done sec=$(date +%s) rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) ns1="ns1-$rndh" -ret=0 cleanup() {