[HistoryView] remove needless code