CBS Sports has let go of its No. 2 NFL game analyst, Dan Fouts, The Post has learned.

CBS is in agreement with Fox’s second NFL analyst, Charles Davis, according to sources, to be Fout’s replacement. The move with Fouts is unrelated to the impact of the coronavirus pandemic on the economy. Fouts’ contract concluded at the end of this season.

CBS’ top offseason priority was keeping its No. 1 analyst, Tony Romo, who ended up receiving a 10-year, $180 million contract at the end of February.

Fouts, 69, has had a long and decorated career on and off the field. A Hall of Fame quarterback with the Chargers, Fouts retired from playing in 1987 and has been a sportscaster for decades, including on “Monday Night Football,” where he teamed with Al Michaels and Dennis Miller.

Fouts could try to continue his broadcasting career at another outlet, though it likely would be on college football, which he broadcast for a large portion of his career.

Having two networks vying over Davis’ services is an interesting turn of events. Fox had Greg Olsen on its radar to replace Davis, 55, to be its No. 2 analyst with Kevin Burkhardt.

Olsen has been a fast riser as a potential future analyst. He has done games as an active player and worked with Burkhardt on the XFL. There was a strong feeling that Olsen would retire and enter the booth, but the Seahawks offered him $7 million and he is playing at least one more season.

Fox still values Davis, but Olsen is viewed as the guy they have saved a seat for on the No. 2 broadcast.

Fox also had talks with Drew Brees, but the fight for Brees after he retires is looked upon more as a battle between ESPN and NBC.

Meanwhile, CBS is high on Green, who has been teamed with Greg Gumbel in recent years. CBS also likes its other analysts, as well, including Adam Archuleta, James Lofton and Rich Gannon, but Green and Davis are believed to be the top choices to replace Fouts.

This role is of particular added importance this year as CBS has acquired another playoff game in the NFL’s expanded postseason format, and Eagle and his new partner are expected to call that game.