projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openocd: fix simple cases of NULL comparison
[fw/openocd]
/
src
/
target
/
armv7a.c
diff --git
a/src/target/armv7a.c
b/src/target/armv7a.c
index 98baaf190eaa2518c0f11f8954e6ce101683cdd6..cc8c19a9b837484899c5ab52684a61ec14332fbb 100644
(file)
--- a/
src/target/armv7a.c
+++ b/
src/target/armv7a.c
@@
-282,7
+282,7
@@
int armv7a_handle_cache_info_command(struct command_invocation *cmd,
}
}
- if (l2x_cache
!= NULL
)
+ if (l2x_cache)
command_print(cmd, "Outer unified cache Base Address 0x%" PRIx32 ", %" PRIu32 " ways",
l2x_cache->base, l2x_cache->way);