Skip to content

Commit 58bfc9c

Browse files
committed
dead code
1 parent 4497c27 commit 58bfc9c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernels/prim_ops/et_copy_index.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ void et_copy_index(KernelRuntimeContext& context, Span<EValue*> stack) {
116116

117117
// Resize `copy_to` to the expected output size. This grows the tensor
118118
// as we write to each index (0→1, 1→2, 2→3, etc.).
119-
const void* data_ptr = copy_to.const_data_ptr();
120119
Error err =
121120
resize_tensor(copy_to, {expected_output_size, copy_to.sizes().size()});
122121
ET_KERNEL_CHECK_MSG(

0 commit comments

Comments
 (0)