Remove redundant code in EventView.