Patch running kernel
Remove unneeded code