Manny Machado had the partially torn ligament in his right knee repaired successfully Wednesday morning, and the third baseman remains on the timeline to return to the club for spring training next season, according to Orioles manager Buck Showalter.

The operation was performed at 6 a.m. in Los Angeles by surgeon Dr. Neal ElAtrrache, who did a similar procedure last October on Machado’s left knee.

“Doctors said everything went well, as expected,” Showalter said. “They had what they thought was going to happen, what they thought they were going to find.”

Showalter said Machado will stay in Los Angeles to do his initial recovery for about three weeks, as originally planned. He then will head to Sarasota, Fla., to work with the organization’s staff there.