Fix the minor style issue and remove unnecessary cast Signed-off-by: chao an <anchao@xiaomi.com>
Signed-off-by: chengkai <chengkai@xiaomi.com>