projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4832b3c
)
init: remove a build warning in product perf patch
65/158465/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Wed, 1 Nov 2017 06:01:19 +0000
(15:01 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Wed, 1 Nov 2017 06:01:24 +0000
(15:01 +0900)
There is a build warning caused by product perf patch. Remove
the unused-variable build warning.
Change-Id: If7ce74eef352680f7dd2b6093ff4fc335b6594e9
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
init/main.c
patch
|
blob
|
history
diff --git
a/init/main.c
b/init/main.c
index
d5c9249
..
480beae
100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-673,7
+673,9
@@
static int __init_or_module do_one_initcall_debug(initcall_t fn)
unsigned long long duration;
int ret;
+#ifdef CONFIG_BOOT_PERF
char name[256]={0};
+#endif
#ifndef CONFIG_BOOT_PERF
pr_debug("calling %pF @ %i\n", fn, task_pid_nr(current));
#endif