From 36da2ecf9e69189baa46a64ae0461727a91d132e Mon Sep 17 00:00:00 2001 From: Michal Krawczyk Date: Thu, 17 Sep 2020 07:30:21 +0200 Subject: [PATCH] net/ena/base: remove mmiowb not defined macro As there is no replacement for mmiowb() and there is no need to use both versions in the DPDK, this ifdef was simply removed. Signed-off-by: Michal Krawczyk Reviewed-by: Igor Chauskin Reviewed-by: Guy Tzalik Reviewed-by: Stephen Hemminger --- drivers/net/ena/base/ena_com.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ena/base/ena_com.c b/drivers/net/ena/base/ena_com.c index ce239ab164..f660c47551 100644 --- a/drivers/net/ena/base/ena_com.c +++ b/drivers/net/ena/base/ena_com.c @@ -2115,9 +2115,7 @@ void ena_com_aenq_intr_handler(struct ena_com_dev *dev, void *data) mb(); ENA_REG_WRITE32_RELAXED(dev->bus, (u32)aenq->head, dev->reg_bar + ENA_REGS_AENQ_HEAD_DB_OFF); -#ifndef MMIOWB_NOT_DEFINED mmiowb(); -#endif } int ena_com_dev_reset(struct ena_com_dev *ena_dev, -- 2.20.1