X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fmain.c;h=046da6f23ca488d02f3fb900c48fc2b96caafb9e;hb=f0d5a6f060d00358b85c62a921a423ea8df71184;hp=a17b60b3aa92cecc9b4bbcaf78c83a84af8d7a8f;hpb=97f7d27c8ecf34879d6b747c10fa9a18c02a4cc0;p=oweals%2Fu-boot.git diff --git a/common/main.c b/common/main.c index a17b60b3aa..046da6f23c 100644 --- a/common/main.c +++ b/common/main.c @@ -940,12 +940,6 @@ int readline_into_buffer (const char *const prompt, char * buffer) int rc; static int initted = 0; - if (!initted) { - hist_init(); - initted = 1; - } - - /* * History uses a global array which is not * writable until after relocation to RAM.