* [PATCH] sched/deadline: delete extraneous extern for to_ratio()
@ 2014-05-13 20:40 Paul Gortmaker
2014-06-05 14:40 ` [tip:sched/core] sched/deadline: Delete " tip-bot for Paul Gortmaker
0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2014-05-13 20:40 UTC (permalink / raw)
To: Dario Faggioli; +Cc: Ingo Molnar, Peter Zijlstra, linux-kernel, Paul Gortmaker
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@windriver.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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:sched/core] sched/deadline: Delete extraneous extern for to_ratio()
2014-05-13 20:40 [PATCH] sched/deadline: delete extraneous extern for to_ratio() Paul Gortmaker
@ 2014-06-05 14:40 ` tip-bot for Paul Gortmaker
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Paul Gortmaker @ 2014-06-05 14:40 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, peterz, raistlin, tglx, paul.gortmaker
Commit-ID: f602d0632755be4f7eddfdd6c0af13216790177b
Gitweb: http://git.kernel.org/tip/f602d0632755be4f7eddfdd6c0af13216790177b
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
AuthorDate: Tue, 13 May 2014 16:40:05 -0400
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 5 Jun 2014 14:22:24 +0200
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@windriver.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Dario Faggioli <raistlin@linux.it>
Link: http://lkml.kernel.org/r/1400013605-18717-1-git-send-email-paul.gortmaker@windriver.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
kernel/sched/deadline.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index f9ca7d1..0d6b170 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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-05 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 20:40 [PATCH] sched/deadline: delete extraneous extern for to_ratio() Paul Gortmaker
2014-06-05 14:40 ` [tip:sched/core] sched/deadline: Delete " tip-bot for Paul Gortmaker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome