diff options
author | Saurabh Sengar <saurabh.truth@gmail.com> | 2015-10-27 04:42:01 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-10-30 18:04:36 +0100 |
commit | 0b13ea8e2661822960b59924b02b4a0ebcf22149 (patch) | |
tree | 4d549857eac3b87a54a596c3f300e0a85f4b7c0f /drivers/of/fdt.c | |
parent | Merge branch 'all-dtbs-v2' into for-next (diff) | |
download | linux-0b13ea8e2661822960b59924b02b4a0ebcf22149.tar.xz linux-0b13ea8e2661822960b59924b02b4a0ebcf22149.zip |
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/fdt.c')
-rw-r--r-- | drivers/of/fdt.c | 2 |
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; |