kconfig: remove useless NULL pointer check in conf_write_dep()
[carl9170fw.git] / config / confdata.c
index 52f9282e63df28c20db394e9cbc6a1ebcdd11deb..f6461a6af4bc9a573305b7d1b6e8af5b0997980d 100644 (file)
@@ -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;