]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
ice: remove unnecessary duplicated AQ command flag setting
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 2 Mar 2021 18:12:08 +0000 (10:12 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 31 Mar 2021 21:21:27 +0000 (14:21 -0700)
commit800c1443cbe1bd17f11e3580744894c3ee1a5c8e
tree797dc35190b182c2074e684394f8815f56db1e2c
parent5c57145a49bd93b72878ef9b4a1d798753b9faff
ice: remove unnecessary duplicated AQ command flag setting

Commit a012dca9f7a2 ("ice: add ethtool -m support for reading i2c eeprom
modules") unnecessarily added the ICE_AQ_FLAG_BUF flag to the descriptor
when sending the indirect Read/Write SFF EEPROM AQ command. The flag is
already added later in the code flow for all indirect AQ commands, i.e.
commands that provide an additional data buffer.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c