From 22f466ab803e2ff5554b7bf893382ec7d700c6ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= Date: Thu, 8 Jan 2015 09:40:08 +0100 Subject: [PATCH] rpl: remove needless call to rpl_get_of_for_ocp This line has no further significance to the application other than burning cpu cycles. --- sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c b/sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c index 890fae9d6996..ce3795ef845f 100644 --- a/sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c +++ b/sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c @@ -170,8 +170,6 @@ void rpl_init_root_mode(void) rpl_instance_t *inst; rpl_dodag_t *dodag; - rpl_get_of_for_ocp(0); - inst = rpl_new_instance(RPL_DEFAULT_INSTANCE); if (inst == NULL) {