From: Saurabh Sengar Date: Tue, 27 Oct 2015 03:42:01 +0000 (+0530) Subject: drivers: of: removing assignment of 0 to static variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b13ea8e2661822960b59924b02b4a0ebcf22149;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 Signed-off-by: Rob Herring --- diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 196e449fc853..d2430298a309 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -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;