Remove unused function

Change-Id: I6a1386077282cbf8faf7b35311cd886e939c76a8