Julia Lawall 4aafe9c603 clk: mmp: Drop unnecessary static
Drop static on a local variable, when the variable is initialized before
any possible use.  Thus, the static has no benefit.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@bad exists@
position p;
identifier x;
type T;
@@
static T x@p;
...
x = <+...x...+>

@@
identifier x;
expression e;
type T;
position p != bad.p;
@@
-static
 T x@p;
 ... when != x
     when strict
?x = e;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-07-17 18:31:06 -07:00
..
2015-07-20 10:53:12 -07:00
2015-07-20 10:53:12 -07:00
2016-04-15 16:50:01 -07:00
2016-04-15 16:50:01 -07:00
2017-07-17 18:31:06 -07:00
2015-05-15 12:31:45 -07:00
2016-03-29 16:29:34 -07:00
2014-11-12 16:34:10 -08:00