Removed redundant code in resolve_gates