]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74910fcc186b4925079e3262422e1b00237082d1
treeb0bf76ae2b67f508f5cf00d9df48b41c13fa4c13
parentb8f233056bf75a5f9615286cd4f479b595399ed6
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