[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1400013605-18717-1-git-send-email-paul.gortmaker@windriver.com>
Date: Tue, 13 May 2014 16:40:05 -0400
From: Paul Gortmaker <paul.gortmaker@...driver.com>
To: Dario Faggioli <raistlin@...ux.it>
CC: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
<linux-kernel@...r.kernel.org>,
Paul Gortmaker <paul.gortmaker@...driver.com>
Subject: [PATCH] sched/deadline: delete extraneous extern for to_ratio()
There was a prototype for it added to kernel/sched/sched.h
at the same time the extern was added, so the extern in
the C file was never really ever needed.
See commit 332ac17ef5bfcff4766dfdfd3b4cdf10b8f8f155 ("sched/deadline:
Add bandwidth management for SCHED_DEADLINE tasks") for details.
Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
---
[patch created against today's linux-next, in case that matters.]
kernel/sched/deadline.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 3fa3fac9d819..1b05677f5af5 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -57,8 +57,6 @@ void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime)
dl_b->dl_runtime = runtime;
}
-extern unsigned long to_ratio(u64 period, u64 runtime);
-
void init_dl_bw(struct dl_bw *dl_b)
{
raw_spin_lock_init(&dl_b->lock);
--
1.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists