mlxsw: spectrum_router: Eliminate dead code
authorIdo Schimmel <idosch@mellanox.com>
Thu, 26 Dec 2019 16:41:14 +0000 (18:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2019 21:13:22 +0000 (13:13 -0800)
commit0d2fb5aa93a634316aa5b061170e9732a84d1217
treea1395c587e38a2814c5b3bc581f35a0cc1f9db32
parent231c8d2bbc4feac4c5db6afbda2484f24661736b
mlxsw: spectrum_router: Eliminate dead code

Since the driver no longer maintains a list of identical routes there is
no route to promote when a route is deleted.

Remove that code that took care of it.

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