Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751268AbdGOVAm (ORCPT ); Sat, 15 Jul 2017 17:00:42 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:59739 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbdGOVAj (ORCPT ); Sat, 15 Jul 2017 17:00:39 -0400 X-IronPort-AV: E=Sophos;i="5.40,365,1496095200"; d="scan'208";a="283494343" Date: Sat, 15 Jul 2017 23:00:36 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joe Perches cc: Julia Lawall , linux-arm-kernel@lists.infradead.org, keescook@chromium.org, kernel-janitors@vger.kernel.org, linux-ide@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-input@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [PATCH 00/11] Drop unnecessary static In-Reply-To: <1500151079.4457.80.camel@perches.com> Message-ID: References: <1500149266-32357-1-git-send-email-Julia.Lawall@lip6.fr> <1500151079.4457.80.camel@perches.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 384 Lines: 15 On Sat, 15 Jul 2017, Joe Perches wrote: > On Sat, 2017-07-15 at 22:07 +0200, Julia Lawall wrote: > > These patches fix cases where there is a static on a local variable, but > > the variable is initialized before any possible use. Thus, the static has > > no benefit. > > Nice one. Thanks. It was suggested by Kees Cook a while ago. There seem to be many opportunities. julia