core: drop global_p from variable.