remove duplicate line&update kernel info