Law has cancer surgery