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 01EB5A0524; Wed, 5 May 2021 09:36:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EDFCC41108; Wed, 5 May 2021 09:34:22 +0200 (CEST) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mails.dpdk.org (Postfix) with ESMTP id D78FB41161 for ; Wed, 5 May 2021 09:34:18 +0200 (CEST) Received: by mail-wm1-f48.google.com with SMTP id g65so793490wmg.2 for ; Wed, 05 May 2021 00:34:18 -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=P8fUcknrkKXEpnO7fW0rtKTUCpUfq0HoxF4+xto39eUsxyKj8OUQvKQoWpvdgYYtUj hOl4LwzsKNviXzRSWRhvVzX/L4c93qOCj5tHP7XmphusoM7Qwszho9M0giz7SZ5LY9f5 48FlcS1pmuo58VIpiXkJRhaw7bN3Iqf3ThmShTQv92xCAphrQ/G/D0CYnHQRJSTSsnxs tUed3+HPfoWjf2qNHuKvEAtKAHVYOnGRrHglKOYYC6OtSFGMgqr8FuGTHe1AJoHvDlsh YF3R/iTCGOcAjQFMxwbrM5nzHWLiu6XIzisse8+kWIUx6guZ8cCWT0h04lwYUr7cLWSU ZzWA== 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=p/aRnFpqaOO6JrOdFY5lOAfw374N6nrH0XYLNwUcuo5fVdKX1Eo5Z/qlJSvQqIBj8l 1U798Xawp9K7tdeLmp0o3Crlxv84HsKoh4wFOQcTEoOASCNMgO94nhU3KApimW5lMoca 5xsX8rqDoWaiOfNXXhs/geP5fepHJcuLWzOPkzdm8/a75VeRiHw05NKQ1vUqH3FfZDUs ybl1g9DmTz/BF4y3eXTRZOpJLxtfgRQLi37srs55O/tBFUhJHxye3CTwD20j6mtmMVBu 7aSFCsKwOW1QnZ419+/wjTl5B7wLtxwdw9yrkrxJEWQGzJI0Zo6s91CfPBeHpNDwZKq3 Ccvw== X-Gm-Message-State: AOAM532fuRUQmFmyCoZVwzb7zQw/n6VtT9MFAVRV/4DwZgzcSfdiSLCs 6NpIgExRWlxBZ40m2AK0JcnoAbcdfglTy+oK X-Google-Smtp-Source: ABdhPJy8c68Bt70uRsrEYVsxMf+XxitVFeqcZ3SMRv8rtdB3aoeSQ2HOyW7O++TO39DQyqN/ZO4Zfw== X-Received: by 2002:a1c:1d17:: with SMTP id d23mr31747067wmd.110.1620200058366; Wed, 05 May 2021 00:34:18 -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 t17sm4679856wmq.12.2021.05.05.00.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 00:34:17 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: ndagan@amazon.com, gtzalik@amazon.com, igorch@amazon.com, upstream@semihalf.com, Stanislaw Kardach , Michal Krawczyk , Shay Agroskin Date: Wed, 5 May 2021 09:33:41 +0200 Message-Id: <20210505073348.6394-16-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210505073348.6394-1-mk@semihalf.com> References: <20210430125725.28796-1-mk@semihalf.com> <20210505073348.6394-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 15/22] 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