Skip to content

Commit dc9ea95

Browse files
ilya-lavrenovazhai219
authored andcommitted
[FIX]Removed unused variables
1 parent 280b305 commit dc9ea95

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/cpu/reorder/simple_sparse_reorder.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ struct simple_sparse_reorder_impl<SIMPLE_SPARSE_REORDER_TEMPL_CALL,
150150
= &input[input_d.blk_off(o_blksize * O, i_blksize * I)];
151151
const int oc_block = nstl::min(o_blksize, OC - O * o_blksize);
152152
const int ic_block = nstl::min(i_blksize, IC - I * i_blksize);
153-
int non_zeros = 0, zeros = 0;
153+
int non_zeros = 0;
154154
int bitmask_idx = (O * NB_IC + I) * i_blksize;
155155
comp_tile_len_ptr[comp_tile_len_index] = cl_length;
156156

@@ -173,8 +173,6 @@ struct simple_sparse_reorder_impl<SIMPLE_SPARSE_REORDER_TEMPL_CALL,
173173
*outp++ = o;
174174
bitmask_ptr[bitmask_idx] |= (1UL << bit);
175175
non_zeros++;
176-
} else {
177-
zeros++;
178176
}
179177
plain_off += plain_i_stride;
180178
bit++;

0 commit comments

Comments
 (0)