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