The code is functionally equivalent and doesn't cause deprecation warnings, but if you can live with the warnings then it's not necessary, at least until whatever they're warning about is removed.  I don't think it should cause any trouble, though, since it will generate the same results.