proc: clean the codes

Signed-off-by: Barry Song <21cnbao@gmail.com>