Remove unused function

Change-Id: Icfcd1d9ebf497593b2b1a502dc5e25dfc41eff1b