> -Original Message-
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Friday, August 28, 2015 7:50 PM
> To: Dumitrescu, Cristian
> Cc: dev at dpdk.org; Stephen Hemminger
> Subject: [PATCH 2/2] rte_sched: remove useless bitmap_free
>
> Coverity reports that rte_bit
> Hi Steve,
>
> I agree these functions are not doing much at the moment, but I would like to
> keep them for the reasons below:
>
> 1. There might be people using them, and we do not want to break their code.
> Removing them is an ABI change.
>
> 2. Although they are just placeholders for no
Coverity reports that rte_bitmap_free() does nothing and caller does
not check return value. Just remove it.
Also since rte_free(NULL) is a nop, remove useless check here.
Signed-off-by: Stephen Hemminger
---
lib/librte_sched/rte_bitmap.h | 19 ---
lib/librte_sched/rte_sched.c
3 matches
Mail list logo