From f4b9b51a9d0e319fc8e545169464d0fb5c1a89bf Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Wed, 18 Jan 2017 11:15:41 -0700
Subject: [PATCH] Cosmetic changes

No change in logic
---
 src/common/eio.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/common/eio.c b/src/common/eio.c
index f834ad46603..9fb062f6686 100644
--- a/src/common/eio.c
+++ b/src/common/eio.c
@@ -290,8 +290,7 @@ int eio_handle_mainloop(eio_handle_t *eio)
 	xassert (eio != NULL);
 	xassert (eio->magic == EIO_MAGIC);
 
-	for (;;) {
-
+	while (1) {
 		/* Alloc memory for pfds and map if needed */
 		n = list_count(eio->obj_list);
 		if (maxnfds < n) {
@@ -359,7 +358,7 @@ _poll_internal(struct pollfd *pfds, unsigned int nfds, time_t shutdown_time)
 		timeout = -1;
 	while ((n = poll(pfds, nfds, timeout)) < 0) {
 		switch (errno) {
-		case EINTR :
+		case EINTR:
 			return 0;
 		case EAGAIN:
 			continue;
-- 
GitLab