Remove references to the now unused dag->parents list

This commit is contained in:
Adam Dunkels 2013-11-20 14:09:42 +01:00
parent 4e6fe7dda6
commit 9039b0ecd8
2 changed files with 1 additions and 7 deletions

View file

@ -45,9 +45,6 @@
#include "net/uip-ds6.h"
#include "sys/ctimer.h"
/*---------------------------------------------------------------------------*/
/* The amount of parents that this node has in a particular DAG. */
#define RPL_PARENT_COUNT(dag) list_length((dag)->parents)
/*---------------------------------------------------------------------------*/
typedef uint16_t rpl_rank_t;
typedef uint16_t rpl_ocp_t;
@ -142,7 +139,6 @@ struct rpl_dag {
rpl_parent_t *preferred_parent;
rpl_rank_t rank;
struct rpl_instance *instance;
LIST_STRUCT(parents);
rpl_prefix_t prefix_info;
};
typedef struct rpl_dag rpl_dag_t;