|
@@ -1971,8 +1971,7 @@ static void read_symbols(char *modname)
|
|
|
handle_modversions(mod, &info, sym, symname);
|
|
|
handle_moddevtable(mod, &info, sym, symname);
|
|
|
}
|
|
|
- if (!is_vmlinux(modname) ||
|
|
|
- (is_vmlinux(modname) && vmlinux_section_warnings))
|
|
|
+ if (!is_vmlinux(modname) || vmlinux_section_warnings)
|
|
|
check_sec_ref(mod, modname, &info);
|
|
|
|
|
|
version = get_modinfo(&info, "version");
|