lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-2df8406a439bdeacbb5b74bbf91c376447d447dc@git.kernel.org>
Date:	Thu, 16 Apr 2015 03:10:02 -0700
From:	tip-bot for Tobias Klauser <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	mingo@...nel.org, hpa@...or.com, tglx@...utronix.de,
	peterz@...radead.org, linux-kernel@...r.kernel.org,
	tklauser@...tanz.ch
Subject: [tip:sched/urgent] sched/autogroup:
  Remove unnecessary #ifdef guards

Commit-ID:  2df8406a439bdeacbb5b74bbf91c376447d447dc
Gitweb:     http://git.kernel.org/tip/2df8406a439bdeacbb5b74bbf91c376447d447dc
Author:     Tobias Klauser <tklauser@...tanz.ch>
AuthorDate: Wed, 15 Apr 2015 18:51:18 +0200
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 16 Apr 2015 09:20:43 +0200

sched/autogroup: Remove unnecessary #ifdef guards

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@...tanz.ch>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/1429116678-17000-1-git-send-email-tklauser@distanz.ch
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 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 */
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ