]> git.baikalelectronics.ru Git - kernel.git/commit
i40e/i40evf: remove redundant declarations of a variable and a function
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 3 Sep 2015 21:18:57 +0000 (17:18 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 09:13:05 +0000 (02:13 -0700)
commit37ba79f7dfe8d0007feb2903c5e0ed29cb9d4d09
tree00e89af5b7a901af5b723a6327c64ff3ad7e44b8
parentd7e2c991cb12970f96cb73a37d701eabeb07be0e
i40e/i40evf: remove redundant declarations of a variable and a function

Remove a variable declaration inside an if block hiding an existing
declaration at the start of the function.

Also remove a forward function declaration that is no longer needed due
to code re-organization.

Change-ID: I12954668b722718074949c93d74cd20eaacd93e4
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c