[dpdk-dev,2/3] fix Coding Style

Message ID 1526865655-59863-2-git-send-email-ych@panath.cn (mailing list archive)
State Changes Requested, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation success Compilation OK

Commit Message

chuhong yao May 21, 2018, 1:20 a.m. UTC
  ---
 drivers/net/liquidio/lio_ethdev.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
 mode change 100755 => 100644 drivers/net/liquidio/lio_ethdev.c
  

Patch

diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio/lio_ethdev.c
old mode 100755
new mode 100644
index bd47911..0a6eb55
--- a/drivers/net/liquidio/lio_ethdev.c
+++ b/drivers/net/liquidio/lio_ethdev.c
@@ -1405,10 +1405,7 @@  struct rte_lio_xstats_name_off {
 	/* Configure RSS if device configured with multiple RX queues. */
 	lio_dev_mq_rx_configure(eth_dev);
 
-    /* Before update the link info, set link_status64 to 0,
-     * Otherwise, when eth_dev->data->mtu != mtu, the link state information cannot be obtained, 
-     * and lio_dev->intf_open will be set to 0.
-     */
+	/* Before update the link info, must set link_status64 to 0. */
     lio_dev->linfo.link.link_status64 = 0;
     
 	/* start polling for lsc */