aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-14 11:09:04 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-14 14:24:15 +0200
commitf29e8f56535efd9aeb01764cfc8decb4b6027be4 (patch)
tree96379466c3da7d53d6a9b237060c4c770fb124de
parent57c74154571d14dcebb92ad0f9ff6369728163da (diff)
downloadrtty-f29e8f56535efd9aeb01764cfc8decb4b6027be4.tar.gz
rtty.c: Remove superfluous code
-rw-r--r--rtty.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rtty.c b/rtty.c
index 766912f..9118f79 100644
--- a/rtty.c
+++ b/rtty.c
@@ -20,10 +20,6 @@ main()
if(!(fdout = open("/var/tmp/r.out", O_RDONLY)))
err(1, "open");
- flags = fcntl(0, F_GETFL, 0);
- flags |= O_NONBLOCK;
- fcntl(0, F_SETFL, flags);
-
FD_ZERO(&rfds0);
FD_ZERO(&rfds1);