No Gandalf didn't do anything because Elrond, Galadrial, and Saruman were all like "No,dude, it's cool. We don't need to worry. We're dumb and other than Saruman who outranks you, you're listening to us elves when you're a goddamn wizard for no reason." I'm not saying it's not lazy writing, it's just not as much Gandalf's fault.
I actually mostly forgot about Alfrid. But now that I do, yeah, that was a waste of time in the movie.