[Intel-wired-lan] [next PATCH S54 14/15] i40e: Deprecating unused macro and

Bowers, AndrewX andrewx.bowers at intel.com
Fri Nov 18 17:21:41 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Friday, November 11, 2016 12:40 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S54 14/15] i40e: Deprecating unused
> macro and
> 
> I40E_MAC_X710 was supposed to be for 10G and I40E_MAC_XL710 was
> supposed to be for 40G. But function i40e_is_mac_710 sets I40E_MAC_XL710
> for all device IDS, I40E_MAC_X710 is not used at all. As there is nothing to
> compare there is no need for this function. Thus deprecating this extra macro
> and removing this function entirely and replacing it with a direct check.
> 
> Signed-off-by: Bimmy Pujari <bimmy.pujari at intel.com>
> Change-ID: I7d1769954dccd574a290ac04adb836ebd156730e
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h        | 13 -------------
>  drivers/net/ethernet/intel/i40e/i40e_main.c   |  6 +++---
>  drivers/net/ethernet/intel/i40e/i40e_type.h   |  1 -
>  drivers/net/ethernet/intel/i40evf/i40e_type.h |  1 -
>  4 files changed, 3 insertions(+), 18 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list