[Calendar]Remove unused code.