net/ixgbe: remove redundant assignment
authorYong Wang <wang.yong19@zte.com.cn>
Fri, 30 Aug 2019 08:45:29 +0000 (16:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 4 Sep 2019 07:53:35 +0000 (09:53 +0200)
commite573264c71de3de67e8fa81b0872c10bf4650f15
tree49e10b29b31e8a569e795b696cc905bcbedf361e
parented838a5fe957c963fad9e7b275c9c44e6c02fb89
net/ixgbe: remove redundant assignment

Since "link.link_duplex" has been assigned to ETH_LINK_FULL_DUPLEX just
before switch statement, the assignment in switch-case statement is
redundant. Remove it.

Fixes: 82113036e4e5 ("ethdev: redesign link speed config")
Cc: stable@dpdk.org
Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c