net/hns3: fix setting default MAC address in bonding of VF
[dpdk.git] / drivers / net / hns3 / hns3_ethdev_vf.c
index a677cc8..eb47ed3 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2018-2019 HiSilicon Limited.
+ * Copyright(c) 2018-2021 HiSilicon Limited.
  */
 
 #include <linux/pci_regs.h>
@@ -1109,9 +1109,6 @@ hns3vf_interrupt_handler(void *param)
        enum hns3vf_evt_cause event_cause;
        uint32_t clearval;
 
-       if (hw->irq_thread_id == 0)
-               hw->irq_thread_id = pthread_self();
-
        /* Disable interrupt */
        hns3vf_disable_irq0(hw);