input: Remove input_buffer_{save,restore}

The input buffer is only used for data that really came from another process and
is only visible to os/input.c. Remove the input_buffer_{save,restore} functions,
they are not necessary(Also can result in problems if data comes while the
typeahead is saved).
This commit is contained in:
Thiago de Arruda
2015-02-13 12:05:54 -03:00
parent e17f92eb29
commit d225349dc6
2 changed files with 0 additions and 23 deletions

View File

@@ -1203,7 +1203,6 @@ void save_typeahead(tasave_T *tp)
readbuf1.bh_first.b_next = NULL;
tp->save_readbuf2 = readbuf2;
readbuf2.bh_first.b_next = NULL;
tp->save_inputbuf = input_buffer_save();
}
/*
@@ -1224,7 +1223,6 @@ void restore_typeahead(tasave_T *tp)
readbuf1 = tp->save_readbuf1;
free_buff(&readbuf2);
readbuf2 = tp->save_readbuf2;
input_buffer_restore(tp->save_inputbuf);
}
/*