net/ice: fix crash on device detach
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 30 Jan 2019 08:23:46 +0000 (16:23 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Feb 2019 12:13:44 +0000 (13:13 +0100)
commita8562b09c1c2fd2b76a65e0c7ae574d405e1bb5a
tree57aaa21e54e7bbc870953571d8706e23249e0bbc
parent714bf46ebb52152d7b17199578b35c76f835da79
net/ice: fix crash on device detach

Fix segment fault when detach a device due to some redundant function
call in ice_dev_uninit.

Fixes: f9cf4f864150 ("net/ice: support device initialization")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/ice_ethdev.c