Skip to content

Commit 8e43991

Browse files
Arm backend: Remove deprecated Ethos-U registration shim (pytorch#22822)
Remove the registration shim deprecated in ExecuTorch 1.2. The backend is registered automatically when linked. Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
1 parent 5171251 commit 8e43991

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎backends/arm/runtime/EthosUBackend.cpp‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -466,15 +466,6 @@ Backend EthosUBackend_id{"EthosUBackend", &EthosUBackend_backend};
466466
static executorch::runtime::Error EthosUBackend_registered =
467467
register_backend(EthosUBackend_id);
468468

469-
// DEPRECATED in Executorch 1.2
470-
// Remove it from your code and make sure to add this to your CMAKE rules
471-
// instead:
472-
// executorch_target_link_options_shared_lib(executorch_delegate_ethos_u)
473-
extern "C" ET_DEPRECATED executorch::runtime::Error
474-
executorch_delegate_EthosUBackend_registered() {
475-
return EthosUBackend_registered;
476-
}
477-
478469
} // namespace
479470

480471
} // namespace arm

0 commit comments

Comments
 (0)