Removed existing code

the removed code is not needed anymore, because the kernel upgrade
handler script does all this automatically now