OpenCloudOS-Kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf
Leon Romanovsky a1fcb106ae net: hns3: remove always exist devlink pointer check
The devlink pointer always exists after hclge_devlink_init() succeed.
Remove that check together with NULL setting after release and ensure
that devlink_register is last command prior to call to devlink_reload_enable().

Fixes: b741269b27 ("net: hns3: add support for registering devlink for PF")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-14 13:59:10 +01:00
..
Makefile net: hns3: add support for registering devlink for VF 2021-07-26 12:16:03 +01:00
hclgevf_cmd.c net: hns3: support RXD advanced layout 2021-05-14 15:07:33 -07:00
hclgevf_cmd.h net: hns3: support RXD advanced layout 2021-05-14 15:07:33 -07:00
hclgevf_devlink.c net: hns3: remove always exist devlink pointer check 2021-08-14 13:59:10 +01:00
hclgevf_devlink.h net: hns3: add support for registering devlink for VF 2021-07-26 12:16:03 +01:00
hclgevf_main.c net: hns3: add support for registering devlink for VF 2021-07-26 12:16:03 +01:00
hclgevf_main.h net: hns3: add support for registering devlink for VF 2021-07-26 12:16:03 +01:00
hclgevf_mbx.c net: hns3: add match_id to check mailbox response from PF to VF 2021-07-20 13:12:49 +02:00
hclgevf_trace.h net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00