projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openocd: remove last NULL comparisons
[fw/openocd]
/
src
/
target
/
armv7a_cache.c
diff --git
a/src/target/armv7a_cache.c
b/src/target/armv7a_cache.c
index fa6df2a273c2582bd673c9113761b0f2de85aa3d..4078fdde20607c5a2eb9de2e4f5f4ef4a287b289 100644
(file)
--- a/
src/target/armv7a_cache.c
+++ b/
src/target/armv7a_cache.c
@@
-140,7
+140,7
@@
int armv7a_cache_auto_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)
retval = armv7a_l1_d_cache_clean_inval_all(curr);