X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..7ddcb079202367355dddccdfa4318e57d50318be:/osfmk/console/serial_general.c?ds=sidebyside diff --git a/osfmk/console/serial_general.c b/osfmk/console/serial_general.c index a2d78e79a..d51e98dab 100644 --- a/osfmk/console/serial_general.c +++ b/osfmk/console/serial_general.c @@ -80,7 +80,6 @@ serial_keyboard_poll(void) int chr; uint64_t next; - while(1) { chr = _serial_getc(0, 1, 0, 1); /* Get a character if there is one */ if(chr < 0) /* The serial buffer is empty */