[1.7.x] Removed unused import.

Backport of fea8ccdcc4 from master