Remove dead code in f_readline()

Fixes #857