Border router: removed unused variable 'prefix'

This commit is contained in:
Simon Duquennoy 2017-11-01 20:32:45 +01:00
parent 50f060477c
commit 71ed11cdea
2 changed files with 0 additions and 3 deletions

View File

@ -39,7 +39,6 @@
#define LOG_MODULE "BR"
#define LOG_LEVEL LOG_LEVEL_INFO
uip_ipaddr_t prefix;
uint8_t prefix_set;
/*---------------------------------------------------------------------------*/
@ -64,7 +63,6 @@ void
void
set_prefix_64(uip_ipaddr_t *prefix_64)
{
memcpy(&prefix, prefix_64, 16);
prefix_set = 1;
rpl_dag_root_init(prefix_64, NULL);
rpl_dag_root_init_dag_immediately();

View File

@ -34,7 +34,6 @@
#include "net/ipv6/uip.h"
#include "net/ipv6/uip-ds6.h"
extern uip_ipaddr_t prefix;
extern uint8_t prefix_set;
void print_local_addresses(void);