i40e: refactor send version
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 23 Apr 2014 04:50:15 +0000 (04:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 5 Jun 2014 09:34:59 +0000 (02:34 -0700)
commit44033fac14340f94a5745a28408f1c56b047194d
treec9358fc828d94a59b81480483be9451baabb5062
parent4f4e17bd1244ce7393349267a214e4f5286a5e3d
i40e: refactor send version

This change moves some common code in two places into a
small helper function, and corrects a bug in one of the
two places in the process.

Change-ID: If3bba7152b240f13a7881eb0e8a781655fa66ce7
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c