Fix debug stats compilation

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Michael Lyulko 2022-03-01 13:04:48 +02:00 committed by Michal Mielewczyk
parent 0a9a173f33
commit 1d903f4038

View File

@ -1,5 +1,6 @@
/*
* Copyright(c) 2012-2021 Intel Corporation
* Copyright(c) 2024 Huawei Technologies
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -415,9 +416,6 @@ void ocf_core_update_stats(ocf_core_t core, struct ocf_io *io)
OCF_CHECK_NULL(core);
OCF_CHECK_NULL(io);
core_id = ocf_core_get_id(core);
cache = ocf_core_get_cache(core);
stats = &core->counters->debug_stats;
idx = to_packet_idx(io->bytes);