[Compass-ci] [PATCH compass-ci] kernel_params.cr: refactor if block to one line