kernel: remove unnecessary lines