Remove an unnecessary NULL-check in insert_srh_header()
This commit is contained in:
parent
97a362acdc
commit
2abf27a6f7
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue