From: Ivan Dyukov Date: Thu, 7 May 2020 18:26:01 +0000 (+0300) Subject: app: remove extra new line after link duplex X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;ds=sidebyside;h=a357d09d54246ea72625c22a970d81a3165fbf94;p=dpdk.git app: remove extra new line after link duplex This is testpmd part of new line cleanup. Fixes: 002ade70e9 ("app/test: measure cycles per packet in Rx/Tx") Fixes: ce8d561418 ("app/testpmd: add port configuration settings") Cc: stable@dpdk.org Signed-off-by: Ivan Dyukov Acked-by: Andrew Rybchenko --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 4b13bf6a98..9cbe6e9f68 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -3012,7 +3012,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. speed %u Mbps- %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index d61be58bb3..352cd47156 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -151,7 +151,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); if (link_mbps == 0) link_mbps = link.link_speed; } else