i40e: make prep_for_reset void
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 4 Jun 2014 01:23:14 +0000 (01:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Jun 2014 01:15:58 +0000 (18:15 -0700)
commit23cfbe074da66305d992c663b778d12476eeefce
treeb0bf76ae2b67f508f5cf00d9df48b41c13fa4c13
parent17413a80bcff78ceb371fb6a34d888780ad7b7fa
i40e: make prep_for_reset void

The return from i40e_prep_for_reset() was being ignored by almost all
its callers.  The one place it wasn't ignored could have caused a silent
and confusing failure of the driver to finish a reset.  Since we really
are doing a rebuild anyway, ignore this last case as well and simply
make the function a void type.

Change-ID: Ia4fed7f903d39a6c47c5722625a53e59c3f7ed53
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