infra: remove unwanted reference to min_free_kbyte

This commit is contained in:
Thomas Schoebel-Theuer 2015-05-26 09:26:37 +02:00
parent 2b2c72cd06
commit 536897bd2c

View File

@ -5645,8 +5645,6 @@ static void exit_light(void)
static int __init init_light(void)
{
extern int min_free_kbytes;
int new_limit = 4096;
struct kstat dummy;
int status = mars_stat("/mars/uuid", &dummy, true);
@ -5655,10 +5653,6 @@ static int __init init_light(void)
return -ENOENT;
}
// bump the min_free limit
if (min_free_kbytes < new_limit)
min_free_kbytes = new_limit;
printk(KERN_INFO "loading MARS, BUILDTAG=%s BUILDHOST=%s BUILDDATE=%s\n", BUILDTAG, BUILDHOST, BUILDDATE);
init_say(); // this must come first