net/enic: remove a conditional from the Tx path
authorJohn Daley <johndale@cisco.com>
Wed, 10 Jan 2018 09:17:12 +0000 (01:17 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit721c66259412b9266763a1c21ba4595b674cbea3
tree81e92949031e59eb123948795bee7e5106e060f9
parent4bb0a6feb3ebdeded5a61e0ae61a48fa61406578
net/enic: remove a conditional from the Tx path

The VLAN insert flag and VLAN tag used in the VIC write descriptor
can be set unconditionally.

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/enic_rxtx.c