From: Michal Krawczyk Date: Thu, 17 Sep 2020 05:30:21 +0000 (+0200) Subject: net/ena/base: remove mmiowb not defined macro X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=36da2ecf9e69189baa46a64ae0461727a91d132e;p=dpdk.git 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 --- 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,