From ef2337cfe5fbade957ababdba69ef92fc1567dee Mon Sep 17 00:00:00 2001 From: rolandreichweinbmw Date: Sat, 1 Mar 2025 18:57:27 +0100 Subject: [PATCH] Cleanup (#1039) --- include/etl/intrusive_forward_list.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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;