Skip to content

Commit f6c61d8

Browse files
committed
Clean-up nan_to_num.cpp dead code
1 parent 90f4c0d commit f6c61d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dpnp/backend/extensions/ufunc/elementwise_functions/nan_to_num.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,6 @@ std::pair<sycl::event, sycl::event>
342342
dpctl::utils::keep_args_alive(q, {src, dst}, host_tasks), comp_ev);
343343
}
344344

345-
namespace py_int = dpnp::extensions::py_internal;
346-
347345
/**
348346
* @brief A factory to define pairs of supported types for which
349347
* nan_to_num_call<T> function is available.
@@ -372,7 +370,6 @@ struct NanToNumFactory
372370
return nullptr;
373371
}
374372
else {
375-
using ::dpnp::extensions::ufunc::impl::nan_to_num_call;
376373
return nan_to_num_call<T>;
377374
}
378375
}
@@ -388,7 +385,6 @@ struct NanToNumContigFactory
388385
return nullptr;
389386
}
390387
else {
391-
using ::dpnp::extensions::ufunc::impl::nan_to_num_contig_call;
392388
return nan_to_num_contig_call<T>;
393389
}
394390
}

0 commit comments

Comments
 (0)