Remove unused function

Change-Id: Ifc020ca81f3eae53bd254db62f65d603774128b3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>