diff --git a/include/etl/intrusive_forward_list.h b/include/etl/intrusive_forward_list.h index a466337f..929a69d0 100644 --- a/include/etl/intrusive_forward_list.h +++ b/include/etl/intrusive_forward_list.h @@ -351,11 +351,7 @@ namespace etl } p_previous = p_link; - - if (p_link != ETL_NULLPTR) - { - p_link = p_link->link_type::etl_next; - } + p_link = p_link->link_type::etl_next; } return ETL_NULLPTR;