Re: [PATCH v2 01/12] rt_numa.h: Remove unused function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 5 Jun 2019, Daniel Wagner wrote:

> From: Daniel Wagner <daniel.wagner@xxxxxxxxxxx>
> 
> GCC on a BeagleBoneBlack complains:
> 
> In file included from src/cyclictest/cyclictest.c:39:0:
> src/cyclictest/rt_numa.h:253:13: warning: ‘numa_on_and_available’ defined but not used [-Wunused-function]
>  static void numa_on_and_available()
>              ^~~~~~~~~~~~~~~~~~~~~
> 
> Signed-off-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxx>
> ---
>  src/cyclictest/rt_numa.h | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/src/cyclictest/rt_numa.h b/src/cyclictest/rt_numa.h
> index e8cd7f481baa..e0f4b2e9d8b2 100644
> --- a/src/cyclictest/rt_numa.h
> +++ b/src/cyclictest/rt_numa.h
> @@ -249,13 +249,6 @@ static inline void rt_bitmask_free(struct bitmask *mask)
>  	free(mask);
>  }
>  
> -
> -static void numa_on_and_available()
> -{
> -	if (numa) /* NUMA is not defined here */
> -		fatal("numa mode and numa functions not available.\n");
> -}
> -
>  #endif	/* NUMA */
>  
>  /*
> -- 

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux