A federal judge in Miami has tossed out a lawsuit filed by rap mogul Marion “Suge” Knight against hip-hop star Kanye West over a 2005 shooting.

Knight was seeking more than $1 million in damages from West. Knight was shot in the leg at a 2005 Miami Beach party hosted by West. Knight blames West for lax security.

The shooter has never been identified.

In Thursday’s order, the judge concluded there’s no evidence that a shooting at the party was foreseeable. The case was set for trial next month.

West’s attorney, Adam Josephs, says the suit was ill-conceived from the beginning, adding he was gratified the court agreed.

A telephone message left with Knight’s attorney was not immediately returned.