OSDN Git Service

ice: cleanup VSI on probe fail
authorMarcin Szycik <marcin.szycik@intel.com>
Mon, 13 Jul 2020 20:53:15 +0000 (13:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Jul 2020 15:38:55 +0000 (08:38 -0700)
commit78116e979ddc4928398420aa986fd283db23c361
tree619014ccc99e1e6ebae7df168a2a3266f522c193
parentcd1f56f4291a1bc949bc922e862a45d8cf6b8990
ice: cleanup VSI on probe fail

As part of ice_setup_pf_sw() a PF VSI is setup; release the VSI in case of
failure.

Signed-off-by: Marcin Szycik <marcin.szycik@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c