The France international has not started at the club since November, and is now a free agent after his contract was rescinded
Marseille have announced that they have terminated the contract of Lassana Diarra by mutual consent.
The former Real Madrid and Chelsea midfielder reportedly went on strike in order to force a move away from Stade Velodrome.
Diarra has been heavily linked with a move to the Chinese Super League, with Shandong Luneng - coached by Felix Magath - said to be in talks with his agent.
The 31-year-old is now free to discuss terms with any interested club after having his contract rescinded.