diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-07-30 17:54:37 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-13 19:17:25 (GMT) |
commit | 5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb (patch) | |
tree | 879661dd40eb925455c3900684271454be255f9a /api/api.c | |
parent | ebb3e43de4cf85e56c6ce6b3c6be98f654acfb19 (diff) | |
download | u-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.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; |