grub2: remove unnecessary lines