SAN FRANCISCO — The long-running IP war between Mattel Inc. and MGA Entertainment Inc. over the Bratz line of dolls has ended — for now — with zero damages.

The U.S. Court of Appeals for the Ninth Circuit on Thursday laid waste to Bratz maker MGA’s $170 million trade secret award — an award procured on retrial after the appeals court wiped out Barbie maker Mattel’s $100 million copyright verdict and constructive trust.