projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openocd: remove NULL comparisons with checkpatch [2/2]
[fw/openocd]
/
src
/
helper
/
binarybuffer.c
diff --git
a/src/helper/binarybuffer.c
b/src/helper/binarybuffer.c
index 3d35702ac96ed0829b9d11b6e51f030f15c48a80..49e347b6e1df3ef4e68e2b86225901df288074c6 100644
(file)
--- a/
src/helper/binarybuffer.c
+++ b/
src/helper/binarybuffer.c
@@
-53,7
+53,7
@@
static const char hex_digits[] = {
void *buf_cpy(const void *from, void *_to, unsigned size)
{
- if (
NULL == from || NULL ==
_to)
+ if (
!from || !
_to)
return NULL;
/* copy entire buffer */