]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
event-loop: drop redundant EINTR/EAGAIN check
authorRay Strode <rstrode@redhat.com>
Tue, 24 Apr 2012 21:58:18 +0000 (17:58 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 24 Apr 2012 21:58:18 +0000 (17:58 -0400)
We check it a couple lines earlier in the code, so
there's no reason to check it again.

src/libply/ply-event-loop.c

index acfdc5db93cbcb07123bdf94fb1afcc3d8019a81..15ff09a386a2d991012e1d68c24d9a6e6b4f4f98 100644 (file)
@@ -1289,7 +1289,7 @@ ply_event_loop_process_pending_events (ply_event_loop_t *loop)
            }
        }
     }
-  while ((number_of_received_events < 0) && ((errno == EINTR) || (errno == EAGAIN)));
+  while (number_of_received_events < 0);
 
   /* first reference all sources, so they stay alive for the duration of this
    * iteration of the loop