summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorSaurabh Sengar <saurabh.truth@gmail.com>2015-10-27 09:12:01 +0530
committerRob Herring <robh@kernel.org>2015-10-30 12:04:36 -0500
commit0b13ea8e2661822960b59924b02b4a0ebcf22149 (patch)
tree4d549857eac3b87a54a596c3f300e0a85f4b7c0f /drivers/of
parent25fff6aa3213676200a0acc9ee37a1ab56d16cd6 (diff)
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>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/fdt.c2
1 files changed, 1 insertions, 1 deletions
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;