Simplify dao_input

This commit is contained in:
Simon Duquennoy 2016-06-08 14:04:47 +02:00
parent 6c4d5312ae
commit 0f5e3413fa

View file

@ -1020,14 +1020,10 @@ dao_input(void)
goto discard; goto discard;
} }
if(instance->mop != RPL_MOP_NON_STORING) { if(RPL_IS_STORING(instance)) {
if(RPL_IS_STORING(instance)) { dao_input_storing();
dao_input_storing(); } else if(RPL_IS_NON_STORING(instance)) {
} dao_input_nonstoring();
} else {
if(RPL_IS_NON_STORING(instance)) {
dao_input_nonstoring();
}
} }
discard: discard: