mirror of https://gitee.com/openkylin/linux.git
drivers: of: removing assignment of 0 to static variable
no need to initialise static variable with 0, hence correcting it. Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
25fff6aa32
commit
0b13ea8e26
|
@ -184,7 +184,7 @@ static void * unflatten_dt_node(const void *blob,
|
|||
struct property *pp, **prev_pp = NULL;
|
||||
const char *pathp;
|
||||
unsigned int l, allocl;
|
||||
static int depth = 0;
|
||||
static int depth;
|
||||
int old_depth;
|
||||
int offset;
|
||||
int has_name = 0;
|
||||
|
|
Loading…
Reference in New Issue