summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-30 19:54:37 +0200
committerTom Rini <trini@konsulko.com>2017-08-13 15:17:25 -0400
commit5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb (patch)
tree879661dd40eb925455c3900684271454be255f9a
parentebb3e43de4cf85e56c6ce6b3c6be98f654acfb19 (diff)
api: remove superfluous assignment
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>
-rw-r--r--api/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c
index c368511704..4fae95d280 100644
--- 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;