]> git.baikalelectronics.ru Git - kernel.git/commit
ice: remove dead code for allocating pin_config
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 24 Aug 2021 00:01:47 +0000 (17:01 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 27 Aug 2021 16:11:39 +0000 (09:11 -0700)
commitb328cc03dc1d1ad9aca9948c4094eb50f1987c7a
tree6b1f758f4aae96dfa7e57ef2027a180dfbb42b8b
parent0a7a1a35071d52115e3d08826ae8fec8398f93f2
ice: remove dead code for allocating pin_config

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: 07a0d86ee24c ("ice: add support for auxiliary input/output pins")
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp.c