[1.7.x] Removed an unused import

Backport of a31d7c48b0 from master