'struct mesh_key_set' and 'struct net_decode' arent't used anymore since commit 994932b740c7 ("mesh: Refactor friend.c and net.c for central key DB"). 'mesh_status_func_t' isn't used anymore since commit c4bf0626fb62 ("mesh: Replace storage_save_config with mesh_config_save_config"). --- mesh/net.c | 11 ----------- mesh/net.h | 9 --------- 2 files changed, 20 deletions(-) diff --git a/mesh/net.c b/mesh/net.c index 496e4dd7fc04..3a93f6624e8c 100644 --- a/mesh/net.c +++ b/mesh/net.c @@ -176,17 +176,6 @@ struct mesh_destination { uint16_t ref_cnt; }; -struct net_decode { - struct mesh_net *net; - struct mesh_friend *frnd; - struct mesh_key_set *key_set; - uint8_t *packet; - uint32_t iv_index; - uint8_t size; - uint8_t nid; - bool proxy; -}; - struct net_queue_data { struct mesh_io_recv_info *info; struct mesh_net *net; diff --git a/mesh/net.h b/mesh/net.h index bdb797e1249b..5200beb2fada 100644 --- a/mesh/net.h +++ b/mesh/net.h @@ -143,13 +143,6 @@ struct mesh_net_heartbeat_pub { uint8_t ttl; }; -struct mesh_key_set { - bool frnd; - uint8_t nid; - uint8_t enc_key[16]; - uint8_t privacy_key[16]; -}; - struct friend_neg { int8_t rssi; bool clearing; @@ -219,8 +212,6 @@ struct mesh_friend_msg { } u; }; -typedef void (*mesh_status_func_t)(void *user_data, bool result); - struct mesh_net *mesh_net_new(struct mesh_node *node); void mesh_net_free(void *net); void mesh_net_cleanup(void); -- 2.43.0