binfmt_misc: drop old optimisation VERBOSE_STATUS flag
Subsystems (2)
PATCH 1/1 binfmt_misc: drop old optimisation VERBOSE_STATUS flag
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 <[email protected]>
--- fs/binfmt_misc.c | 9 --------- 1 file changed, 9 deletions(-)
fs/binfmt_misc.c +0 -9
@@ -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);
Signature · 1 line
2.1.0