X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fconfdata.c;fp=config%2Fconfdata.c;h=d53f34564141e6315b7627a48623229e41ed5e8d;hb=a318d15e9291e956526fa23211706a4e471b84f4;hp=75a63725bad4e77b229ada800414f746d5dd2408;hpb=000c801a28421b0eb73a5678e334a6e7ace2f5e2;p=carl9170fw.git diff --git a/config/confdata.c b/config/confdata.c index 75a6372..d53f345 100644 --- a/config/confdata.c +++ b/config/confdata.c @@ -268,8 +268,7 @@ int conf_read_simple(const char *name, int def) goto load; sym_add_change_count(1); if (!sym_defconfig_list) { - if (modules_sym) - sym_calc_value(modules_sym); + sym_calc_value(modules_sym); return 1; } @@ -404,9 +403,7 @@ setsym: } free(line); fclose(in); - - if (modules_sym) - sym_calc_value(modules_sym); + sym_calc_value(modules_sym); return 0; }