X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdpdkstat.c;h=cc525e82c7b08d1bb7dae201144be0ddce92172b;hb=1035fba8812893e50d00a871e3399cc1ece3b384;hp=cfe993cbeeb2d547537eb201be55738f4b15e5f6;hpb=a6f29de68fe19614b0aa90e920e99d72cb0f4468;p=collectd.git diff --git a/src/dpdkstat.c b/src/dpdkstat.c index cfe993cb..cc525e82 100644 --- a/src/dpdkstat.c +++ b/src/dpdkstat.c @@ -253,7 +253,7 @@ static int dpdk_helper_stats_count_get(dpdk_helper_ctx_t *phc) { } static int dpdk_stats_get_size(dpdk_helper_ctx_t *phc) { - return (dpdk_helper_data_size_get(phc) - sizeof(dpdk_stats_ctx_t)); + return dpdk_helper_data_size_get(phc) - sizeof(dpdk_stats_ctx_t); } int dpdk_helper_command_handler(dpdk_helper_ctx_t *phc, enum DPDK_CMD cmd) {