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 <[email protected]>
---
 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.13.2

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to