From patchwork Tue Oct 23 01:10:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10652649 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 22E2317D4 for ; Tue, 23 Oct 2018 01:10:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7349028D1C for ; Tue, 23 Oct 2018 01:10:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 672F628E1C; Tue, 23 Oct 2018 01:10:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DE6528D1C for ; Tue, 23 Oct 2018 01:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727226AbeJWJbj (ORCPT ); Tue, 23 Oct 2018 05:31:39 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:36218 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbeJWJbj (ORCPT ); Tue, 23 Oct 2018 05:31:39 -0400 Received: by mail-qt1-f193.google.com with SMTP id u34-v6so48717091qth.3; Mon, 22 Oct 2018 18:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=3nnNuMN0DgpLvFEqoDh+yamiGrzV6ATAjSjzW+TOOZ4=; b=nC+hhINNkswG+e80IHjAG8bda0ldKWXoFt5/UFsVEfA13jxY0aIkdRAjzypFDrpKmH ov/7mKYiA7SSbg/WmurDOb6T1OygHY6BZmAIz55pPAxl9dfK/ivuOruSwNlIDZE+eJJN PH/uDDAC9VaVohPsKTcewrywuMCKjAwD3hep9kNTjsYLCqOm1aGgKBEjy9+W8/a111i4 IyBLRFrU3zRbyHdPvjeWyypvyyUa+A+kqHgDyDmcNCBDdv7HvGKP7mQq5UFVlHOU0xaG CAbeIz7vXCsX582aOrd7BfwnkIirhaL7SNpsS430+8QWx81C0+OifEyG6J7ma52PId3+ K8BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=3nnNuMN0DgpLvFEqoDh+yamiGrzV6ATAjSjzW+TOOZ4=; b=QaNhtzgSY0jD4QxcUVT8ruTRbxJSeCd0K4JXFggyd6y6c2Zjp/hrvYPvPdxc+7rNpS WcYd6TvVN+A64ojOfqaXOszpm+BTibqqMYiK5ao+m7XhvQW/SZqirF7Lg0Glw0QXReBg sF5wA7FFgs0cYdZ7InrMUyv+WFcXMzno3tEjMcZzQ5VrECbvMqvUv3eZvwHX7NvJ1qqT KQCP0FGeUg2itFqFwMdmkrEg1Cxwrq7dN5vzIc51tL11CdGHlliofWMGf9XsSJqjv2Pe 0GF0gqGmlGo4LST+TjAGj60qKjCdSphTiFUaovvFRn8/Wa50LabmULWuTHmMUsub6x0O W/Sg== X-Gm-Message-State: ABuFfoje1C9RCB9DMypj8ddENfqfzIzdJzmDECvB3bwFMZViBkr6Sxr2 I/m87IxAzFL1evTcUJ/hGtU= X-Google-Smtp-Source: ACcGV609dBDCVIqSnThpw+YX2gzunlpiWy2jq3yElfnXmqwE+2cweQjnva+XUEgq/RcSIvpbV5fssg== X-Received: by 2002:aed:229a:: with SMTP id p26-v6mr46080540qtc.148.1540257039806; Mon, 22 Oct 2018 18:10:39 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id h4-v6sm19118406qkg.95.2018.10.22.18.10.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 18:10:39 -0700 (PDT) Date: Mon, 22 Oct 2018 22:10:33 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Borislav Petkov , David.Laight@aculab.com, Andy Lutomirski , Ingo Molnar , helen@koikeco.de, Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/5] kbuild: Removes unnecessary shadowed local variable. Message-ID: <20181023011033.GA6580@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- scripts/asn1_compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.