remove deprecation warning

This deprecation was released in 4.1.0 and can be removed for 4.2.0,
deprecation message / handling is no longer necessary.
Merge pull request #15100 from eileencodes/remove-deprecation-warning-no-longer-needed

remove deprecation warning