Issue #27911: Remove some unnecessary error checks in import.c.

Thanks to Xiang Zhang for the patch.
2 files changed