Re: [RFC v3 08/19] cyclicdeadline: Remove unused struct thread_param

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

 




On Fri, 15 Jan 2021, Daniel Wagner wrote:

> There is no user for this data struct. Remove it.
> 
> Signed-off-by: Daniel Wagner <dwagner@xxxxxxx>
> ---
>  src/sched_deadline/cyclicdeadline.c | 17 -----------------
>  1 file changed, 17 deletions(-)
> 
> diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c
> index cd12c7f313c2..71cde5781499 100644
> --- a/src/sched_deadline/cyclicdeadline.c
> +++ b/src/sched_deadline/cyclicdeadline.c
> @@ -47,23 +47,6 @@ typedef unsigned long long u64;
>  typedef unsigned int u32;
>  typedef int s32;
>  
> -/* Struct to transfer parameters to the thread */
> -struct thread_param {
> -	u64 runtime_us;
> -	u64 deadline_us;
> -
> -	int mode;
> -	int timermode;
> -	int signal;
> -	int clock;
> -	unsigned long max_cycles;
> -	struct thread_stat *stats;
> -	unsigned long interval;
> -	int cpu;
> -	int node;
> -	int tnum;
> -};
> -
>  /* Struct for statistics */
>  struct thread_stat {
>  	unsigned long cycles;
> -- 
> 2.29.2
> 
> 
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