net/tap: skip overwritten file descriptor assignment
authorPascal Mazon <pascal.mazon@6wind.com>
Thu, 2 Feb 2017 16:18:00 +0000 (17:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commit455c14e974308753cab94b5e5f91a26ae8549879
tree81ba55c2b685ee509b222730cb96a839adaa0e81
parentf48a8d679741337997a8f1fcc9afca739a11ea24
net/tap: skip overwritten file descriptor assignment

pmd->fds[0], pmd->rxq[0] and pmd->txq[0] are set a couple of lines after
the for loop that initializes them to -1.

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c