mlxsw: spectrum: Remove unnecessary check in FDB processing
authorIdo Schimmel <idosch@mellanox.com>
Wed, 24 Aug 2016 10:00:28 +0000 (12:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2016 16:41:12 +0000 (09:41 -0700)
commit81f77bc00689ea602e8f19ef5b6dc7b1e238187b
tree29270397bf5186ff401e4c57db0935a8352a77ac
parent89b548f0cfad8322cefe777746e4c12f0ab9ba60
mlxsw: spectrum: Remove unnecessary check in FDB processing

We now offload the learning configuration to the device and don't rely
on the driver to decide whether to learn the FDB record, so remove the
check.

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