projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719358a
)
kconfig: remove useless NULL pointer check in conf_write_dep()
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Fri, 10 May 2019 16:56:48 +0000
(
01:56
+0900)
committer
Christian Lamparter
<chunkeey@gmail.com>
Fri, 27 Sep 2019 20:31:13 +0000
(22:31 +0200)
conf_write_dep() has just one caller:
conf_write_dep("include/config/auto.conf.cmd");
"name" always points to a valid string.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/confdata.c
patch
|
blob
|
history
diff --git
a/config/confdata.c
b/config/confdata.c
index 52f9282e63df28c20db394e9cbc6a1ebcdd11deb..f6461a6af4bc9a573305b7d1b6e8af5b0997980d 100644
(file)
--- a/
config/confdata.c
+++ b/
config/confdata.c
@@
-1010,8
+1010,6
@@
static int conf_write_dep(const char *name)
struct file *file;
FILE *out;
- if (!name)
- name = ".kconfig.d";
out = fopen("..config.tmp", "w");
if (!out)
return 1;