Glen "Big Baby" Davis won't go to jail after he was allegedly caught with a quarter-pound of weed ... TMZ Sports has learned the ex-NBA star cut a deal in his case and is officially off the hook.
The former Celtics PF was busted back in February 2017 after cops say they found 126 grams of marijuana on him along with $92,164 in a briefcase at his Maryland hotel.
He was arrested and hit with 7 charges -- including a felony count of drug possession with intent to distribute ... which carries a maximum of FIVE YEARS in jail.