diff options
Diffstat (limited to 'src/target/armv8_cache.c')
-rw-r--r-- | src/target/armv8_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv8_cache.c b/src/target/armv8_cache.c index b668b84..f05ac07 100644 --- a/src/target/armv8_cache.c +++ b/src/target/armv8_cache.c @@ -252,7 +252,7 @@ static int armv8_flush_all_data(struct target *target) struct target_list *head; struct target *curr; head = target->head; - while (head != (struct target_list *)NULL) { + while (head) { curr = head->target; if (curr->state == TARGET_HALTED) { LOG_INFO("Wait flushing data l1 on core %" PRId32, curr->coreid); |