Remove unneeded patches.