[1.7.x] Removed unused import.

Backport of d9c272b22f from master