Remove redundant code.
PiperOrigin-RevId: 351484243 Change-Id: If3a9eead0ceb1859c65627c13efeeb5b9dc8676c
This commit is contained in:
parent
098231f373
commit
c102dc94c7
@ -801,10 +801,6 @@ port::Status InitStreamExecutorPlugin(SEInitPluginFn init_fn) {
|
||||
TF_RETURN_IF_ERROR(tensorflow::StatusFromTF_Status(c_status.get()));
|
||||
TF_RETURN_IF_ERROR(ValidateSPTimerFns(timer_fns));
|
||||
|
||||
platform_fns.create_timer_fns(&platform, &timer_fns, c_status.get());
|
||||
TF_RETURN_IF_ERROR(tensorflow::StatusFromTF_Status(c_status.get()));
|
||||
TF_RETURN_IF_ERROR(ValidateSPTimerFns(timer_fns));
|
||||
|
||||
// Register new platform
|
||||
std::string platform_name = std::string(platform.name);
|
||||
std::unique_ptr<stream_executor::CPlatform> cplatform(
|
||||
|
Loading…
Reference in New Issue
Block a user