summaryrefslogtreecommitdiff
path: root/api/api.c
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-30 17:54:37 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-13 19:17:25 (GMT)
commit5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb (patch)
tree879661dd40eb925455c3900684271454be255f9a /api/api.c
parentebb3e43de4cf85e56c6ce6b3c6be98f654acfb19 (diff)
downloadu-boot-fsl-qoriq-5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb.tar.xz
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>
Diffstat (limited to 'api/api.c')
-rw-r--r--api/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c
index c368511..4fae95d 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;