mesh: remove unused fields from mesh_transport_key_and_virtual_address_iterator_t

This commit is contained in:
Matthias Ringwald 2019-04-25 22:13:10 +02:00
parent 7f00ba15e4
commit 42f3f8dae0

View File

@ -74,8 +74,6 @@ typedef struct {
// address - might be virtual
uint16_t dst;
// key info
uint8_t akf;
uint8_t aid;
} mesh_transport_key_and_virtual_address_iterator_t;
static void mesh_transport_key_and_virtual_address_iterator_init(mesh_transport_key_and_virtual_address_iterator_t *it,
@ -84,8 +82,6 @@ static void mesh_transport_key_and_virtual_address_iterator_init(mesh_transport_
printf("KEY_INIT: dst %04x, akf %x, aid %x\n", dst, akf, aid);
// config
it->dst = dst;
it->aid = aid;
it->akf = akf;
// init elements
it->key = NULL;
it->address = NULL;