libcore: delete some not used codes.

N/A

Change-Id: I33d815530b16d8485c260925e42ef84e9e815340
Signed-off-by: liminghao <liminghao@xiaomi.com>