event/cnxk: reduce workslot memory consumption
[dpdk.git] / drivers / regex / octeontx2 / otx2_regexdev_hw_access.c
index 620d5c9..f8031d0 100644 (file)
@@ -31,7 +31,7 @@ ree_lf_err_intr_unregister(const struct rte_regexdev *dev, uint16_t msix_off,
                           uintptr_t base)
 {
        struct rte_pci_device *pci_dev = RTE_DEV_TO_PCI(dev->device);
-       struct rte_intr_handle *handle = &pci_dev->intr_handle;
+       struct rte_intr_handle *handle = pci_dev->intr_handle;
 
        /* Disable error interrupts */
        otx2_write64(~0ull, base + OTX2_REE_LF_MISC_INT_ENA_W1C);
@@ -61,7 +61,7 @@ ree_lf_err_intr_register(const struct rte_regexdev *dev, uint16_t msix_off,
                         uintptr_t base)
 {
        struct rte_pci_device *pci_dev = RTE_DEV_TO_PCI(dev->device);
-       struct rte_intr_handle *handle = &pci_dev->intr_handle;
+       struct rte_intr_handle *handle = pci_dev->intr_handle;
        int ret;
 
        /* Disable error interrupts */