diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-07-30 19:54:37 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-13 15:17:25 -0400 |
commit | 5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb (patch) | |
tree | 879661dd40eb925455c3900684271454be255f9a | |
parent | ebb3e43de4cf85e56c6ce6b3c6be98f654acfb19 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |