Remove unused function

Change-Id: Ibb418bc13e7635e8e4605f5ebc76a5f3f719cb4c