From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C049A0C41; Tue, 11 May 2021 08:47:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D759641167; Tue, 11 May 2021 08:46:35 +0200 (CEST) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mails.dpdk.org (Postfix) with ESMTP id BB83B4110B for ; Tue, 11 May 2021 08:46:30 +0200 (CEST) Received: by mail-lj1-f172.google.com with SMTP id b7so23792978ljr.4 for ; Mon, 10 May 2021 23:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gAOAdq/3nI0xT6ujf76EsSvcMe11nEit/A1336hWGkU=; b=PI8ViRXr71NytgsuSgoryzTq4Q/MqPEX+Cqi1hurLclYPHui6V0Z+540PwZ94BKO3u FFZPOjUofU2sF5bAokG6K2ereWvZU1EwDbxIhxaFcUF5p4Dx8KK0HSZdupMIMdvt8ZZe kJFUcq6w9gBo/omuT2Uxqkzk1ehw95sBcyMRbqrWL5LrwS1grjzK4534Ia4pzNQZSWGb bfl8efsstXGpcKkGJbr4l15fUTzVy0IBcZ5qTxT2rKq7/GUmtwCPKqfzWVPC2pNs4p4a nSU1olftmxsnf1cGomaG2y2idVHF7HTA5+5tGZ1+z4hKH5kE8xcFFBB7BzsqKXvm3v4x 8Zew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gAOAdq/3nI0xT6ujf76EsSvcMe11nEit/A1336hWGkU=; b=d+C3OJ2zmup9P4F2JDvG2RTbN9DsDo+Vja0OhKN2QCvYo++RrQZJH8Xj8ZwkbwY8Ho 9OIXPOildB9UjejrR2Tcndx8cc6593dksDECIeKIIaIyZbIayZLBPPcN+zScR31eRT4g Bk2/21jh8nxf6w8/MWC8QgxltxluvrhNn6sQhmrpxTx07K0MWz2VhBPfVqtvexZYmG2+ ZmfsM6BwYgGHaASHihWNvyWcaC15DpmcqLMl1FdY7LO+wvpYHu85IifQfGvvnFyr0DCw WzgsOP5uJrLchtXpJtRPJglw5az3d3jg+BQ/aAZQ+DrkZSLBm6ItdR1uqscxJLPED/Sy HZTw== X-Gm-Message-State: AOAM533lwvm/Q+3hvome3QfDOqTSrz9faP66piV5+0BEDiXG3azUV1sR B/Ec0SDX4M3xfKx9/dG9pfrccw== X-Google-Smtp-Source: ABdhPJxHySoS7uJCctlpM4x65J03LK3thXF1vlaaORiXtfzkntRcdHYnlLseXkbxQcMgzy22MUykvQ== X-Received: by 2002:a2e:8512:: with SMTP id j18mr23893599lji.196.1620715590445; Mon, 10 May 2021 23:46:30 -0700 (PDT) Received: from DESKTOP-U5LNN3J.localdomain (89-79-189-199.dynamic.chello.pl. [89.79.189.199]) by smtp.gmail.com with ESMTPSA id v20sm2496776lfd.92.2021.05.10.23.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 23:46:29 -0700 (PDT) From: Michal Krawczyk To: ferruh.yigit@intel.com Cc: dev@dpdk.org, ndagan@amazon.com, gtzalik@amazon.com, igorch@amazon.com, upstream@semihalf.com, Stanislaw Kardach , Michal Krawczyk , Shay Agroskin Date: Tue, 11 May 2021 08:45:49 +0200 Message-Id: <20210511064554.10656-15-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210511064554.10656-1-mk@semihalf.com> References: <87e65a42-4ae5-1a81-8f8e-74759fc14999@intel.com> <20210511064554.10656-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 14/19] net/ena: remove endian swap functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Stanislaw Kardach swap*_*_le() functions are not used anywhere and besides there are rte alternatives already present. Fixes: 1173fca25af9 ("ena: add polling-mode driver") Signed-off-by: Stanislaw Kardach Reviewed-by: Michal Krawczyk Reviewed-by: Igor Chauskin Reviewed-by: Shay Agroskin --- drivers/net/ena/ena_platform.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/net/ena/ena_platform.h b/drivers/net/ena/ena_platform.h index d3e40e0e9e..748928b2d9 100644 --- a/drivers/net/ena/ena_platform.h +++ b/drivers/net/ena/ena_platform.h @@ -6,18 +6,6 @@ #ifndef __ENA_PLATFORM_H__ #define __ENA_PLATFORM_H__ -#define swap16_to_le(x) (x) - -#define swap32_to_le(x) (x) - -#define swap64_to_le(x) (x) - -#define swap16_from_le(x) (x) - -#define swap32_from_le(x) (x) - -#define swap64_from_le(x) (x) - #define ena_assert_msg(cond, msg) \ do { \ if (unlikely(!(cond))) { \ -- 2.25.1