netdevsim: assume CONFIG_NET_DEVLINK is always enabled
authorJiri Pirko <jiri@mellanox.com>
Tue, 9 Apr 2019 15:14:54 +0000 (17:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2019 18:16:59 +0000 (11:16 -0700)
commit027d4ca6f0f589ae18c5086ddb04cd1819708ffa
treea3a0b9863945488720ee24c45b891fdcb6e51d92
parentc3d9a435d9398294231cc398173780bae951d60f
netdevsim: assume CONFIG_NET_DEVLINK is always enabled

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

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/Makefile
drivers/net/netdevsim/netdevsim.h