]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Assume CONFIG_NET_DEVLINK is always enabled
authorJiri Pirko <jiri@mellanox.com>
Fri, 19 Apr 2019 13:27:05 +0000 (13:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2019 22:03:55 +0000 (15:03 -0700)
commit92cfc88d34a32ab716f91eb21addbecea21d426b
tree117f3b510557fa03760ce6aadff2c0e36eceb6f5
parent24a01a73174f9f370963b35bfed68b71c3e126fc
mlxsw: spectrum: Assume CONFIG_NET_DEVLINK is always enabled

Since commit 0bf669355584 ("net: devlink: select NET_DEVLINK
from drivers") adds implicit select of NET_DEVLINK for
mlxsw, the code does not have to deal with the case
when CONFIG_NET_DEVLINK is not enabled. So remove the ifcase
and adjust Makefile.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/Makefile
drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.h