diff options
author | Petr Machata <petrm@nvidia.com> | 2023-11-20 19:25:23 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-11-21 14:53:08 -0800 |
commit | 642d6a2033d85797e0f8807d0e48bb007d5e73ca (patch) | |
tree | 746f3ce14d3fc641463bf896a883eeae5f82d415 /drivers/zorro | |
parent | 7eb902954b624ee338303ad735235429e036b31b (diff) |
mlxsw: reg: Drop unnecessary writes from mlxsw_reg_sfmr_pack()
The MLXSW_REG_ZERO at the beginning of the function wipes the whole
payload. There's no need to set vtfp and vv to false explicitly.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/04a51ea7cf31eea0ef7707311d8e864e2d9ef307.1700503644.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions