The rapper had faced two felony counts of assault with a firearm in connection with a 2021 altercation in Los Angeles.