diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-06-10 21:07:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-11 12:43:29 -0700 |
commit | 77f972a7077d06d565243ecc192f45e1e5813cf1 (patch) | |
tree | e0f36b12f11dc3c289ffc8ac0fe92f6ada10ca4b /drivers/net/ethernet/pensando/ionic/ionic_devlink.c | |
parent | 9334d5ba32c052fc925e0c817dc398c98b093221 (diff) |
ionic: remove support for mgmt device
We no longer support the mgmt device in the ionic driver,
so remove the device id and related code.
Fixes: b3f064e9746d ("ionic: add support for device id 0x1004")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_devlink.c')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_devlink.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_devlink.c b/drivers/net/ethernet/pensando/ionic/ionic_devlink.c index 273c889faaad..2d590e571133 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_devlink.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_devlink.c @@ -77,10 +77,6 @@ int ionic_devlink_register(struct ionic *ionic) return err; } - /* don't register the mgmt_nic as a port */ - if (ionic->is_mgmt_nic) - return 0; - devlink_port_attrs_set(&ionic->dl_port, DEVLINK_PORT_FLAVOUR_PHYSICAL, 0, false, 0, NULL, 0); err = devlink_port_register(dl, &ionic->dl_port, 0); |