bnxt_en: Properly remove port parameter support
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 23 Sep 2021 18:12:49 +0000 (21:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Sep 2021 13:12:56 +0000 (14:12 +0100)
commit61415c3db3d98c74bfe8f9e8688b6e40b4c3e1d4
tree8387d0ee61944c9c8a986e15eb9ae3ac9a3d641e
parente624c70e1131e145bd0510b8a700b5e2d112e377
bnxt_en: Properly remove port parameter support

This driver doesn't have any port parameters and registers
devlink port parameters with empty table. Remove the useless
calls to devlink_port_params_register and _unregister.

Fixes: da203dfa89ce ("Revert "devlink: Add a generic wake_on_lan port parameter"")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c