Remove an unnecessary NULL-check in insert_srh_header()

This commit is contained in:
Yasuyuki Tanaka 2016-02-16 15:14:06 +01:00 committed by Simon Duquennoy
parent 97a362acdc
commit 2abf27a6f7
2 changed files with 1 additions and 2 deletions

View file

@ -381,7 +381,7 @@ insert_srh_header(void)
cmpri = 15;
cmpre = 15;
if(node != NULL && node == root_node) {
if(node == root_node) {
PRINTF("RPL: SRH no need to insert SRH\n");
return 0;
}