net/hinic: fix secondary process
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Tue, 19 Nov 2019 12:31:34 +0000 (20:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:06 +0000 (17:36 +0100)
commit66f64dd6dc867f7f32b01090c431473926afac0d
treeff8456eab4a1f0217acc3bdc2cf79608e5060d82
parent8fad2e5ab2c54ae12db0c3255b69d0c4f44a5194
net/hinic: fix secondary process

The secondary process does not need to register interrupt handle,
remove rte_intr_callback_register from secondary process branch.

Fixes: 64727024d2fd ("net/hinic: add device initialization")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/hinic_pmd_ethdev.c