Goering had returned to Germany at the end of 1927, following a general political amnesty which the Communists had helped the parties of the Right put through the Reichstag.
This is what Goering did for Hitler: give him lucrative and useful social connections.