All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] binfmt_misc: drop old optimisation VERBOSE_STATUS flag
@ 2014-10-01 23:11 Luis Henriques
  0 siblings, 0 replies; only message in thread
From: Luis Henriques @ 2014-10-01 23:11 UTC (permalink / raw)
  To: Alexander Viro; +Cc: linux-fsdevel, linux-kernel

The VERBOSE_STATUS flag doesn't seem to be relevant these days.  It is a
compile time flag that for sure doesn't "save 400 bytes kernel memory".

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 fs/binfmt_misc.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index b60500300dd7..7560f89669d5 100644
--- a/fs/binfmt_misc.c
+++ b/fs/binfmt_misc.c
@@ -33,10 +33,6 @@
 
 #include <asm/uaccess.h>
 
-enum {
-	VERBOSE_STATUS = 1 /* make it zero to save 400 bytes kernel memory */
-};
-
 static LIST_HEAD(entries);
 static int enabled = 1;
 
@@ -424,11 +420,6 @@ static void entry_status(Node *e, char *page)
 	if (test_bit(Enabled, &e->flags))
 		status = "enabled";
 
-	if (!VERBOSE_STATUS) {
-		sprintf(page, "%s\n", status);
-		return;
-	}
-
 	sprintf(page, "%s\ninterpreter %s\n", status, e->interpreter);
 	dp = page + strlen(page);
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-01 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 23:11 [PATCH] binfmt_misc: drop old optimisation VERBOSE_STATUS flag Luis Henriques

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.