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)
commitd341e2ce6bf77250096d568f65be04466ace5d0e
treefab9778daca58f69ac9f104d622b85d745dbb6ed
parent348b8fc3cf3059ac151c693dac992947a3daa437
mlxsw: spectrum_switchdev: Remove redundant check

Since commit 97c242902c20 ("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