Commit 4cb72612 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: remove useless NULL pointer check in conf_write_dep()

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 580c5b3e
......@@ -964,8 +964,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment