From c715855c476895c224828ede52b871bc80add6f9 Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Mon, 27 Nov 2023 15:10:45 +0100 Subject: [PATCH] fix: remove unused intmap --- src/transport/raweth/link.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/transport/raweth/link.c b/src/transport/raweth/link.c index 77f019f37..c6a0196e2 100644 --- a/src/transport/raweth/link.c +++ b/src/transport/raweth/link.c @@ -25,25 +25,8 @@ #include "zenoh-pico/utils/pointers.h" // Address Sizes -#define MAC_ADDR_LENGTH 6 - #define RAWETH_SCHEMA "reth" -#define RAWETH_CFG_ARGC 2 - -#define RAWETH_CFG_IFACE_KEY 0x01 -#define RAWETH_CFG_IFACE_STR "iface" - -#define RAWETH_CFG_VLAN_KEY 0x02 -#define RAWETH_CFG_VLAN_STR "vlan" - -#define RAWETH_CFG_MAPPING_BUILD \ - _z_str_intmapping_t args[RAWETH_CFG_ARGC]; \ - args[0]._key = RAWETH_CFG_IFACE_KEY; \ - args[0]._str = RAWETH_CFG_IFACE_STR; \ - args[1]._key = RAWETH_CFG_VLAN_KEY; \ - args[1]._str = RAWETH_CFG_VLAN_STR; - #if Z_FEATURE_RAWETH_TRANSPORT == 1 static _Bool __z_valid_address_raweth(const char *address) {