]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Remove redundant check
authorIdo Schimmel <idosch@mellanox.com>
Tue, 16 May 2017 17:38:30 +0000 (19:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 18:06:54 +0000 (14:06 -0400)
commit929280cf28e464bfa51eb5841d7effce52f7dd3c
treefab9778daca58f69ac9f104d622b85d745dbb6ed
parent04c50fcc8bcd7f67747ddaf64937ddf3a4f915f9
mlxsw: spectrum_switchdev: Remove redundant check

Since commit fc0703e3dd66 ("switchdev: Execute bridge ndos only for
bridge ports") switchdev code checks that port is bridged, so no need to
perform the same check in the driver.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c