CIA Torture Investigations Dropped as Petraeus Confirmed

The Senate confirmed Gen. David Petraeus as CIA director today, 94-0. Meanwhile, the Justice Department will "drop criminal investigations of most CIA officials" who tortured people. Is there a quid pro quo here, or just two independent, predictable things?