[InfoBarGenerics] remove un-used code.