X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fconfdata.c;h=d53f34564141e6315b7627a48623229e41ed5e8d;hp=75a63725bad4e77b229ada800414f746d5dd2408;hb=3d404803d26dac6f6f72870e57cf25429c9a086d;hpb=b049eebc30b8654df29be2960f85762f679a6699 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; }