DALLAS — The Mavericks have waived Zach Randolph two days after acquiring the forward while sending Harrison Barnes to Sacramento in a trade designed to give Dallas salary-cap relief.

Randolph and young forward Justin Jackson were sent to the Mavericks in a deal that came together while Barnes was playing for Dallas in a 99-93 win over Charlotte on Wednesday. Jackson was active for Friday night's game against Milwaukee.

The 37-year-old Randolph never played for the Kings in his second season with them. He was a frequent Dallas foe during his eight seasons with Memphis. A day after the trade, Mavericks president of basketball operations Donnie Nelson said he didn't expect Randolph to play for the club.

Randolph has averaged 16.6 points and 9.1 rebounds in 17 seasons with five teams.

By trading Barnes, the Mavericks put themselves in position to acquire another front-line player to go with rookie sensation Luka Doncic and 2018 All-Star Kristaps Porzingis.

Dallas traded for Porzingis last week in a seven-player deal with New York that starters Dennis Smith Jr., Wesley Matthews and centre DeAndre Jordan to the Knicks. Porzingis won't play this season as he continues to recover from a knee injury sustained last February.

___

More AP NBA: https://apnews.com/NBA and https://twitter.com/AP_Sports