ethdev: remove unused variable
authorThomas Monjalon <thomas@monjalon.net>
Thu, 14 Feb 2019 16:29:20 +0000 (17:29 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Feb 2019 15:41:43 +0000 (16:41 +0100)
commita3a4aba4b5c54e2a81daa792f49bb9743142c444
treee93097b4c5bf07fab561be740ca623c61f4395c1
parent56dd3ae1952cbfabd879682daa3776b1f7c84147
ethdev: remove unused variable

When removing the old attach function, the racy variable for getting
the last port id became unused.

Fixes: c9cce42876f5 ("ethdev: remove deprecated attach/detach functions")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/librte_ethdev/rte_ethdev.c