projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25fff6a
)
drivers: of: removing assignment of 0 to static variable
author
Saurabh Sengar
<saurabh.truth@gmail.com>
Tue, 27 Oct 2015 03:42:01 +0000
(09:12 +0530)
committer
Rob Herring
<robh@kernel.org>
Fri, 30 Oct 2015 17:04:36 +0000
(12:04 -0500)
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>
drivers/of/fdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/of/fdt.c
b/drivers/of/fdt.c
index 196e449fc85302602fa9f3cc560c5a92b2718add..d2430298a309a86d3f2110623d3728b9dedb228f 100644
(file)
--- 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;