'struct mesh_key_set', 'mesh_status_func_t' and 'struct net_decode' aren't used anywhere. --- mesh/net.c | 11 ----------- mesh/net.h | 9 --------- 2 files changed, 20 deletions(-) diff --git a/mesh/net.c b/mesh/net.c index cbdfd9d299d5..2e10aadcec19 100644 --- a/mesh/net.c +++ b/mesh/net.c @@ -182,17 +182,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 8a3b4038b6de..62b8f5896089 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