Les deux locutions ont le même sens:
to have no connection with
Deux exemples:
...pandemics is unpredictable and when the next one does occur it may be nothing to do with the current H5N1 bird flu virus.
...contributed to a success can also be found in the other countries has nothing to do with the notion of considering these factors [...]