Skip to content
Commit 36ca68bf authored by Elad Raz's avatar Elad Raz Committed by David S. Miller
Browse files

mlxsw: Fix mlxsw_i2c_write return value



The "err" variable is been checked, return always 0.

Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
Acked-by: default avatarIdo Schimmel <idosch@mellanox.com>
Acked-by: default avatarVadim Pasternak <vadimp@mellanox.com>
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f89d21b9
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