Fix debug stats compilation
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
parent
0a9a173f33
commit
1d903f4038
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user