xconfig: remove unused function