From: Leonardo Bras Date: Wed, 24 Oct 2018 04:03:51 +0000 (-0300) Subject: ASN.1: Remove unnecessary shadowed local variable X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9e1e8194332fa4c453bcbad434b5da17c1c7e4c5;p=linux.git ASN.1: Remove unnecessary shadowed local variable Remove 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 Bras Signed-off-by: Masahiro Yamada --- diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c index c146020fc7838..1b28787028d3e 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.