Add space after keywords.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 examples/vhost/main.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 42e53a0f9a4f..9fee966916e9 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -1491,7 +1491,7 @@ switch_worker(void *arg __rte_unused)
                }
        }
 
-       while(1) {
+       while (1) {
                drain_mbuf_table(tx_q);
                drain_vhost_table();
                /*
@@ -1583,9 +1583,8 @@ destroy_device(int vid)
                return;
        /*set the remove flag. */
        vdev->remove = 1;
-       while(vdev->ready != DEVICE_SAFE_REMOVE) {
+       while (vdev->ready != DEVICE_SAFE_REMOVE)
                rte_pause();
-       }
 
        for (i = 0; i < RTE_MAX_LCORE; i++)
                rte_free(vhost_txbuff[i * RTE_MAX_VHOST_DEVICE + vid]);
@@ -1816,7 +1815,7 @@ print_stats(__rte_unused void *arg)
        const char clr[] = { 27, '[', '2', 'J', '\0' };
        const char top_left[] = { 27, '[', '1', ';', '1', 'H','\0' };
 
-       while(1) {
+       while (1) {
                sleep(enable_stats);
 
                /* Clear screen and move to top left */
-- 
2.35.1

Reply via email to