From: xypron.glpk@gmx.de Date: Sun, 30 Jul 2017 17:54:37 +0000 (+0200) Subject: api: remove superfluous assignment X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb;p=u-boot.git 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 Reviewed-by: Simon Glass --- 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;