Commit 62783827 authored by Jilin Yuan's avatar Jilin Yuan Committed by David S. Miller

mellanox/mlxsw: fix repeated words in comments

Delete the redundant word 'action'.
Delete the redundant word 'refer'.
Delete the redundant word 'for'.
Signed-off-by: default avatarJilin Yuan <yuanjilin@cdjrlc.com>
Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c3997b1
...@@ -1164,7 +1164,7 @@ EXPORT_SYMBOL(mlxsw_afa_block_append_vlan_modify); ...@@ -1164,7 +1164,7 @@ EXPORT_SYMBOL(mlxsw_afa_block_append_vlan_modify);
* trap control. In addition, the Trap / Discard action enables activating * trap control. In addition, the Trap / Discard action enables activating
* SPAN (port mirroring). * SPAN (port mirroring).
* *
* The Trap with userdef action action has the same functionality as * The Trap with userdef action has the same functionality as
* the Trap action with addition of user defined value that can be set * the Trap action with addition of user defined value that can be set
* and used by higher layer applications. * and used by higher layer applications.
*/ */
......
...@@ -180,7 +180,7 @@ mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, u8 slot_index, ...@@ -180,7 +180,7 @@ mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, u8 slot_index,
} else { } else {
/* When reading upper pages 1, 2 and 3 the offset /* When reading upper pages 1, 2 and 3 the offset
* starts at 0 and I2C high address is used. Please refer * starts at 0 and I2C high address is used. Please refer
* refer to "Memory Organization" figure in SFF-8472 * to "Memory Organization" figure in SFF-8472
* specification for graphical depiction. * specification for graphical depiction.
*/ */
i2c_addr = MLXSW_REG_MCIA_I2C_ADDR_HIGH; i2c_addr = MLXSW_REG_MCIA_I2C_ADDR_HIGH;
......
...@@ -15,7 +15,7 @@ struct mlxsw_sp2_kvdl_part_info { ...@@ -15,7 +15,7 @@ struct mlxsw_sp2_kvdl_part_info {
* usage bits we need and how many indexes there are * usage bits we need and how many indexes there are
* represented by a single bit. This could be got from FW * represented by a single bit. This could be got from FW
* querying appropriate resources. So have the resource * querying appropriate resources. So have the resource
* ids for for this purpose in partition definition. * ids for this purpose in partition definition.
*/ */
enum mlxsw_res_id usage_bit_count_res_id; enum mlxsw_res_id usage_bit_count_res_id;
enum mlxsw_res_id index_range_res_id; enum mlxsw_res_id index_range_res_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment