Remove unused function

Change-Id: I83193d77832a97147fe0fe2768039c0b101c65a3