Remove unused function

Change-Id: I51975357c91295f757532ff219a8db8ca939ba0c