remove unneeded code in channel cache handling