Add usage and delete some no use code.

Signed-off-by: vulcan.lin <ssjmhyvi@gmail.com>