From patchwork Mon Dec 11 14:07:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 13487306 X-Patchwork-Delegate: stephen@networkplumber.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="XqViGnoN" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2085.outbound.protection.outlook.com [40.107.223.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0227A27A for ; Mon, 11 Dec 2023 06:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nBuKly5+Zi5cOBxPDy5EhRXA/V81N2H6+GYCoQnj13x6hYZSVqZTBqzkNOI5QdNt0zKJcxE4hjPX38Yy3R/5TbIiTjIM60m+fqbAB2S3mIvW0vel3Ja/J5jAMW+1fs5yIMx/WBFFwmg98pDo7nF2EEPYH/qVTYeoJ3OEqZ706je5tdXVrtE2z9lDv7/VW1JCW2ot/mD1cQPua/WfH8YeACDk6dguC+YQ+D9iPxDeGtG8w74p6r0MttVYku68ivZ0fDq7A9LqZ1XuwGd0Sj+RXJZfzbE4yDZGX/gWR2pCWvytHgutmh8LXP2ZvI+GvXh/RV8b/EVAR/AJ7TaSAKQtfQ== 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=+iK6crpGi8+O0c9NeOmfN2gIBUowIISQEKDeWH04P0w=; b=MNLKt4oJsFNjPiLrtXTFRBIjHwwrohTrDe3qkBKDIUtnBhtPCGbO8dC54n0Xm0nEXNHSKtU1lB/U0Ti05s7urqkxrRQ76PSTqg0XuFEYRg5RKAy+QyKfrr0Svj+Tb8Mr3rZ2InAheJbnDkL/A9NCKMvL67Rb+414s9+jq2DzbCf/98XZjn4kNDjgHUFHXvCG0u31uAPv/JJAIbBxwUYanyhepOnB+sI/hja6nGopIbYotheN+ntnnTQdt9xTomr8CctpB2H5XtEyGYoTGwTIOkKdhTK64eBdmUGIGqwyMV9/F24+u8ZQfsP45jKkUZ1zLmkBUXw44Y+fg9dG7QIcvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+iK6crpGi8+O0c9NeOmfN2gIBUowIISQEKDeWH04P0w=; b=XqViGnoN/cIo/lxPeyZRaC5xKOrWXiXR1XtRKGN80lOVFquPj5uKDvC3pO7qk7VzeHU58FS6u9yyYMXXkIJIFExvfEPlKqz47+Vh0NCwtLOCPDPbe2YW/mMl9xXAdkCFhDPH4PV2gzxArjsdIBtoS8g/lItkvQn0H1WyA2AyXoNBgpeGSJ46Ho3iAyk+oaXIJfseDeKT7GA4kdacIp+JHpYPMoU/iys9A0Ns3zu9xYJIfWbwJnNqNDHkEUPq2haaTaoc0D6K8uui8a5G7kBMsgS1iQi5cwdUoWRav3CY7D5r0k20/tUT5WZ4hJjtfGKCDp0jNBflFwZGnPNgfigF9g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) by BY5PR12MB4193.namprd12.prod.outlook.com (2603:10b6:a03:20c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 14:08:16 +0000 Received: from MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::ff68:f81b:d451:9765]) by MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::ff68:f81b:d451:9765%4]) with mapi id 15.20.7068.031; Mon, 11 Dec 2023 14:08:16 +0000 From: Benjamin Poirier To: netdev@vger.kernel.org Cc: Petr Machata , Roopa Prabhu Subject: [PATCH iproute2-next 14/20] bridge: vni: Remove unused argument in open_vni_port() Date: Mon, 11 Dec 2023 09:07:26 -0500 Message-ID: <20231211140732.11475-15-bpoirier@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231211140732.11475-1-bpoirier@nvidia.com> References: <20231211140732.11475-1-bpoirier@nvidia.com> X-ClientProxiedBy: YQBPR01CA0122.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:1::22) To MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4373:EE_|BY5PR12MB4193:EE_ X-MS-Office365-Filtering-Correlation-Id: 57315d38-e4c6-40f3-839d-08dbfa529ea3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZZ9BVJSYMg/KNgUr3idERlzm3OrOcicP0YOtgYsq/JZVJWUiQZqJp8+1HbJl+L6odoClHRR0CJUjcqiy9Xyt2iLPyR9Tq4NS7WLs85XFo3CkXw4/iuR/EdwAWI9rRHBZwGxodSyEqCcZXeZZeqA7CUENND/cYT78F1meAhU4Y7iN5nDeOw00xbNtbnBu6qvvPCrkVtxoRsh+TCFjaaWm+qSn805vERSie9giPa6r9MYPyTfgTJaPRgd6YaYeg5CS/DKroYDO2CK+A/IiXHTWCV9UkLINyZisRqCz+s2b4qmX2gSQzKjzf5zL1nkBn4GNwWnp/8+2GZjWljkqVLXm40roZq/h0TJrQs9/wbGBsoSlkLAh1+obKntcZzT/P+uyKKYnn4kPwA0iiFJovZf1qPkqOOnYptLfrtCBnR1D6aP9gNbxVOVbSkRTl0k1t5ep8Egc3MnvNaooYEEgBRB/VWwvdXdsZLbGzQ1s+vtmHwo7f5jF5B4IBMyOPAWVA1ZjVOVtdazh04HZggo0kEfstNP3Rab2NpkVw6E+i6Vfmke2K6/s2FXqmkEnI+DlhRHf X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4373.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(396003)(376002)(346002)(39860400002)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(41300700001)(4744005)(2906002)(316002)(6916009)(66946007)(66476007)(66556008)(54906003)(5660300002)(8676002)(8936002)(4326008)(86362001)(36756003)(6512007)(6666004)(6506007)(83380400001)(107886003)(26005)(2616005)(1076003)(6486002)(478600001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dF/Gc5Vmw9VOhzAEOP4rjlppmtj65nHpig7jgQktjxqH/jdzcOvj9GNxGl/NIdTszGXsLgRbOfB/4kXBuWclNKXknHfz4zegNgEiqH3eO33GfSl6f3sJG4TrYTotcrOARxcjyVLtEwjuRzR5TMqgiBRF10K1y1631cRITUStOAFcXM+Ao4/cTQVj8uzHP8xFLn03kOUiZS1Blx+Z34hGlkTrsepsoZaoAZk5OoW9LMzA5phe3T55ncCNgHbDPggLPypVMEz1MN8kRrUHS4W8OVtcawGzksptffs65VG6f7T4U7c/XxoOQixnrj6nu6zL1D0qV8w6oKd1LNGGLjdKgC23YS9MhZ3XPYVZt+G+DSvSAqPooxlgniZFy82I8g/RmmBn29/dBOp6+vSYS8czTbEyA475xvmhy2rKBKKyFC9UpkTCHv7i2ZodTG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dgTe4mH3VUEMmIohdF9KESewA+ahUT0eHurcefWRy472hykZW0srlWgpWg1qslNsBJQCNLuSDYUFxrmXs X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57315d38-e4c6-40f3-839d-08dbfa529ea3 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 14:08:15.9989 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SUJw3r6tovjIVm0CqQfLLHB1crM5uk1dqkUj1MU9MjpvuPoNPQ0Cr3aCqvW67e5iHilGTSmQbDCIBplnGcRvCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4193 X-Patchwork-Delegate: dsahern@gmail.com Reviewed-by: Petr Machata Tested-by: Petr Machata Signed-off-by: Benjamin Poirier --- bridge/vni.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge/vni.c b/bridge/vni.c index 0d8c1d34..44781b01 100644 --- a/bridge/vni.c +++ b/bridge/vni.c @@ -147,7 +147,7 @@ static int vni_modify(int cmd, int argc, char **argv) return 0; } -static void open_vni_port(int ifi_index, const char *fmt) +static void open_vni_port(int ifi_index) { open_json_object(NULL); print_color_string(PRINT_ANY, COLOR_IFNAME, "ifname", @@ -334,7 +334,7 @@ int print_vnifilter_rtm(struct nlmsghdr *n, void *arg) continue; if (!opened) { - open_vni_port(tmsg->ifindex, "%s"); + open_vni_port(tmsg->ifindex); opened = true; } else { print_string(PRINT_FP, NULL, "%-" __stringify(IFNAMSIZ) "s ", "");