pci: unset driver if probe fails
authorDavid Marchand <david.marchand@6wind.com>
Mon, 7 Nov 2016 09:03:29 +0000 (10:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 13:50:47 +0000 (14:50 +0100)
commitd82eeefe7ac83a28eab08e5c8705f76a6be12095
treec1711063b2f396fd7a378906bef082921c6a96d7
parent07b156199fa2d5de7e40b865c90fa4b6d99e09d0
pci: unset driver if probe fails

dev->driver should be set only if a driver did take the device.

Signed-off-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/eal_common_pci.c