From 5cc9e6b7fa4fac8dc7b709af3bd6f259171ff0bb Mon Sep 17 00:00:00 2001 From: "xypron.glpk@gmx.de" Date: Sun, 30 Jul 2017 19:54:37 +0200 Subject: [PATCH] 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 --- api/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2