[v1] test/rcu: remove redundant header file
Checks
Commit Message
RCU library now includes stdbool.h header itself.
There is no need to include this header file in RCU user files.
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
app/test/test_rcu_qsbr.c | 1 -
1 file changed, 1 deletion(-)
Comments
>
> RCU library now includes stdbool.h header itself.
> There is no need to include this header file in RCU user files.
>
> Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
> ---
> app/test/test_rcu_qsbr.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/app/test/test_rcu_qsbr.c b/app/test/test_rcu_qsbr.c index
> 1d273e39d..d1b9e46a2 100644
> --- a/app/test/test_rcu_qsbr.c
> +++ b/app/test/test_rcu_qsbr.c
> @@ -3,7 +3,6 @@
> */
>
> #include <stdio.h>
> -#include <stdbool.h>
> #include <rte_pause.h>
> #include <rte_rcu_qsbr.h>
> #include <rte_hash.h>
> --
> 2.17.1
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
24/07/2019 20:01, Honnappa Nagarahalli:
> >
> > RCU library now includes stdbool.h header itself.
> > There is no need to include this header file in RCU user files.
> >
> > Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu@arm.com>
>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Applied, thanks
@@ -3,7 +3,6 @@
*/
#include <stdio.h>
-#include <stdbool.h>
#include <rte_pause.h>
#include <rte_rcu_qsbr.h>
#include <rte_hash.h>