i40e: don't remove HMC that doesn't exist
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 23 Apr 2014 04:50:13 +0000 (04:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Jun 2014 09:00:23 +0000 (02:00 -0700)
commit60442dea2e9314b472c772c76ed1b2ba5b961e02
tree4ebcc338e42e9b11c157b500273f8d52eb56cf0e
parentcf05ed083104d93f661c77f46130c8f46a896714
i40e: don't remove HMC that doesn't exist

If a reset recovery failed (e.g. firmware is broken), the HMC space won't
get set up.  We don't need to try to delete it if it didn't get set up.
This stops some needless error messages when we already know we need to
just tear things down.

Change-ID: Iac600481765e20b136052b43a544e55d7870268b
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c