Skip to content

Commit

Permalink
fix: remove unused intmap
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 27, 2023
1 parent 3474b44 commit c715855
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/transport/raweth/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c715855

Please sign in to comment.