remove dead code - scroll - scrollbackbuffer program for st
 (HTM) git clone git://git.suckless.org/scroll
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f1e7a78ba26a8c12f92afe9434f1e8744e08e378
 (DIR) parent 4a454be5448811cf224d2e29797380e427e1b78e
 (HTM) Author: Jan Klemkow <j.klemkow@wemelug.de>
       Date:   Sat, 11 Apr 2020 21:14:29 +0200
       
       remove dead code
       
       it seems we don't need non-blocking i/o.
       
       Diffstat:
         M scroll.c                            |       6 ------
       
       1 file changed, 0 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/scroll.c b/scroll.c
       @@ -441,12 +441,6 @@ main(int argc, char *argv[])
                if (signal(SIGWINCH, sigwinch) == SIG_ERR)
                        die("signal:");
        
       -        int f;
       -        if ((f = fcntl(mfd, F_GETFL)) == -1)
       -                die("fcntl:");
       -        if (fcntl(mfd, F_SETFL, f /*| O_NONBLOCK*/) == -1)
       -                die("fcntl:");
       -
                struct termios new = dfl;
                cfmakeraw(&new);
                new.c_cc[VMIN ] = 1;