Uhh... It has no advantage what so ever. And if you said your restarting to catch a shiny, that dosn't do anything. Use soft restart.
If you restart the game the chances of having a shiny are still slim. It's not like, say, this time you will catch a goldin whatever and next time you will get a different pokemon.