Remove unused code.

Change-Id: I12007e9d198cd264d461b22abf3851052db62cf0
Reviewed-by: hjk <hjk121@nokiamail.com>