All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched/autogroup: Remove unnecessary #ifdef guards
@ 2015-04-15 16:51 Tobias Klauser
  2015-04-16 10:10 ` [tip:sched/urgent] " tip-bot for Tobias Klauser
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2015-04-15 16:51 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra; +Cc: linux-kernel

Since commit 029632fbb7b7 ("sched: Make separate sched*.c translation
units") autogroup is a separate translation unit built from the Makefile
and thus no longer needs its content wrapped with #ifdef
CONFIG_SCHED_AUTOGROUP.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 kernel/sched/auto_group.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/kernel/sched/auto_group.c b/kernel/sched/auto_group.c
index eae160d..1a3b58d 100644
--- a/kernel/sched/auto_group.c
+++ b/kernel/sched/auto_group.c
@@ -1,5 +1,3 @@
-#ifdef CONFIG_SCHED_AUTOGROUP
-
 #include "sched.h"
 
 #include <linux/proc_fs.h>
@@ -249,5 +247,3 @@ int autogroup_path(struct task_group *tg, char *buf, int buflen)
 	return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id);
 }
 #endif /* CONFIG_SCHED_DEBUG */
-
-#endif /* CONFIG_SCHED_AUTOGROUP */
-- 
2.2.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-16 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 16:51 [PATCH] sched/autogroup: Remove unnecessary #ifdef guards Tobias Klauser
2015-04-16 10:10 ` [tip:sched/urgent] " tip-bot for Tobias Klauser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.