Some coding convention for if and for.

Signed-off-by: Huy Bui <anhhuybk@gmail.com>