Commit b68558517e8286e9d737e4f351939b86ff3892ec

Authored by ths
1 parent fd58ff9d

Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4889 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 1 deletions
@@ -2573,7 +2573,6 @@ static CharDriverState *qemu_chr_open_tty(const char *filename) @@ -2573,7 +2573,6 @@ static CharDriverState *qemu_chr_open_tty(const char *filename)
2573 int fd; 2573 int fd;
2574 2574
2575 TFR(fd = open(filename, O_RDWR | O_NONBLOCK)); 2575 TFR(fd = open(filename, O_RDWR | O_NONBLOCK));
2576 - fcntl(fd, F_SETFL, O_NONBLOCK);  
2577 tty_serial_init(fd, 115200, 'N', 8, 1); 2576 tty_serial_init(fd, 115200, 'N', 8, 1);
2578 chr = qemu_chr_open_fd(fd, fd); 2577 chr = qemu_chr_open_fd(fd, fd);
2579 if (!chr) { 2578 if (!chr) {