Browse Source

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>
xypron.glpk@gmx.de 6 years ago
parent
commit
5cc9e6b7fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/api.c

+ 1 - 1
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;