projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb3e43
)
api: remove superfluous assignment
author
xypron.glpk@gmx.de
<xypron.glpk@gmx.de>
Sun, 30 Jul 2017 17:54:37 +0000
(19:54 +0200)
committer
Tom Rini
<trini@konsulko.com>
Sun, 13 Aug 2017 19:17:25 +0000
(15:17 -0400)
No need to assign a value to sig if the next statement using sig
is itself an assignment of a value to sig.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
api/api.c
patch
|
blob
|
history
diff --git
a/api/api.c
b/api/api.c
index c368511704e5e9877757a49b2e8e9cf2256c2b95..4fae95d2801db2d1d7e304559630500949d405db 100644
(file)
--- a/
api/api.c
+++ b/
api/api.c
@@
-625,7
+625,7
@@
int syscall(int call, int *retval, ...)
void api_init(void)
{
- struct api_signature *sig
= NULL
;
+ struct api_signature *sig;
/* TODO put this into linker set one day... */
calls_table[API_RSVD] = NULL;