diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2022-02-22 19:16:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-23 12:38:17 +0000 |
commit | af9911c569d5d23abe3ed6c11f3c9ca8c76fa5f1 (patch) | |
tree | 6d0249866b1800a11acd5d44ffb8cc94a19254ef /net/switchdev/switchdev.c | |
parent | 719fc0662cdc062be9e0b49f1788c50046ebfcf2 (diff) |
mlxsw: core: Remove unnecessary asserts
Remove unnecessary asserts for module index validation. Leave only one
that is actually necessary in mlxsw_env_pmpe_listener_func() where the
module index is directly read from the firmware event.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions