[Intel-wired-lan] [next-queue v4 02/13] ice: remove dead code for allocating pin_config

G, GurucharanX gurucharanx.g at intel.com
Thu Aug 26 03:45:28 UTC 2021



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Tuesday, August 24, 2021 5:32 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next-queue v4 02/13] ice: remove dead code for
> allocating pin_config
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> We have code in the ice driver which allocates the pin_config structure if
> n_pins is > 0, but we never set n_pins to be greater than zero.
> There's no reason to keep this code until we actually have pin_config
> support. Remove this. We can re-add it properly when we implement
> support for pin_config for E810-T devices.
> 
> Fixes: 172db5f91d5f ("ice: add support for auxiliary input/output pins")
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_ptp.c | 11 -----------
>  1 file changed, 11 deletions(-)
> 

Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list