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_l2x.c
diff --git
a/src/target/armv7a_cache_l2x.c
b/src/target/armv7a_cache_l2x.c
index 8ecdb008d7bbe9b0eb0b44a603dae726ee94555d..6b42fae53aa47a14497ab9db03aa477821bb6215 100644
(file)
--- a/
src/target/armv7a_cache_l2x.c
+++ b/
src/target/armv7a_cache_l2x.c
@@
-210,7
+210,7
@@
static int armv7a_l2x_cache_init(struct target *target, uint32_t base, uint32_t
/* initialize all targets in this cluster (smp target)
* l2 cache must be configured after smp declaration */
- while (head
!= (struct target_list *)NULL
) {
+ while (head) {
curr = head->target;
if (curr != target) {
armv7a = target_to_armv7a(curr);