diff mbox series

[v2,2/5] kbuild: Removes unnecessary shadowed local variable.

Message ID 20181023011033.GA6580@WindFlash (mailing list archive)
State New, archived
Headers show
Series [v2,1/5] x86/vdso: Renames variable to fix shadow warning. | expand

Commit Message

Leonardo Bras Oct. 23, 2018, 1:10 a.m. UTC
Removes an unnecessary shadowed local variable (start).
It was used only once, with the same value it was started before
the if block.

Signed-off-by: Leonardo BrĂ¡s <leobras.c@gmail.com>
---
 scripts/asn1_compiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c
index c146020fc783..1b28787028d3 100644
--- a/scripts/asn1_compiler.c
+++ b/scripts/asn1_compiler.c
@@ -413,7 +413,7 @@  static void tokenise(char *buffer, char *end)
 
 			/* Handle string tokens */
 			if (isalpha(*p)) {
-				const char **dir, *start = p;
+				const char **dir;
 
 				/* Can be a directive, type name or element
 				 * name.  Find the end of the name.