Feature optimize:             remove useless code.

Signed-off-by: Euhow <euhowzy@gmail.com>