Skip to content

Commit d64d969

Browse files
committed
remove unused var
1 parent 9d97fd9 commit d64d969

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kernels/portable/cpu/util/elementwise_util.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ inline void dtype_specialized_elementwise_fn_impl(
8585
static_assert(
8686
(std::is_same_v<Args, std::pair<const Tensor*, SupportedTensorDtypes>> &&
8787
...));
88-
constexpr auto kNumInputs = sizeof...(inputs);
8988
// All inputs must be of type CTYPE_COMPUTE.
9089
ET_DCHECK(
9190
((inputs.first->scalar_type() ==
@@ -229,8 +228,6 @@ inline void apply_elementwise_fn_generic_impl(
229228
const Tensor& out,
230229
SupportedTensorDtypes out_dtypes,
231230
Args... inputs) {
232-
constexpr auto kNumInputs = sizeof...(inputs);
233-
234231
struct InputInfo {
235232
load_to_compute_fn<CTYPE_COMPUTE> load_to_compute;
236233
const char* data_ptr;

0 commit comments

Comments
 (0)