Remove unneeded clock code