Re: [PATCH] sched: remove unused params

From: Ingo Molnar
Date: Wed Jan 30 2008 - 11:13:37 EST



* Gerald Stralko <gerb.stralko@xxxxxxxxx> wrote:

> This removes the extra struct task_struct *p parameter in inc_nr_running
> and dec_nr_running functions.

> -static void inc_nr_running(struct task_struct *p, struct rq *rq)
> +static void inc_nr_running(struct rq *rq)
> {
> rq->nr_running++;

thanks, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/