[PATCH net-next v3 6/8] netconsole: improve code style in parser function