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 2458EA0524; Thu, 6 May 2021 16:27:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B80B141173; Thu, 6 May 2021 16:26:06 +0200 (CEST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id 16A6E41162 for ; Thu, 6 May 2021 16:26:03 +0200 (CEST) Received: by mail-lj1-f180.google.com with SMTP id p12so7314290ljg.1 for ; Thu, 06 May 2021 07:26:03 -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=Sk/OaJ+BaehmocbMdHqD+BY4lwEUVf0aefZoy8Z82twkMgbe0cI4y11WLxWNkYl5j5 cxhzPe0jB8IoCqiX5A55AlcDZmmO1l4HEzJeHBOprxgUqxW6RK/3dJBXudXvn3VYjLM7 3DraKVdSC6ba6KlCtnufH1vIdGuZhDgb/oVVyOSlxk4jpwnh/nPqM49cwBfBKKLT8vui 9mNee0n6vRPvRbAgdxX+hW83ZPyNPW4A3jp7sE1PLHhBg1s2XaCTcDk4AdcIfTa/abTO AdwX+zyVSIKauMKkHK6fMvciDeYMtoaGhWd8Tu55gj7pbqGZweOudcYH+GYjIrwGgNUQ np6g== 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=SSzjW1kwIDy1ffF/O+NT0x+IRqA/2oTrKf3f+GQuPlkXCWhgyYggFcCbSrCX1SoF4u TWa/Le7SgIW0Fd5Sm3qChVUVsS36enfjpBEV5JtM9Y0IT3yxNXqkjmpUmOORXG0sRzWK xMPS63xvOYuIJiNFiW93g7cykbBeAzEtbJWxSxvZVX2BUKqbP2bmd+Sczhw2uYw9Yqq5 iN68vyI83/g3TDW9xjMihaVNj3EPmsi96rYYAh9Nol2a6DjhLP1A00g2jYAHRON9i/Hj AcYlyWvC7MPXhcP/RPM7sleFl0u2qWG+nM8qCW6UKhiBp4CbbwlXh0X4Ug0Upa7HAaaF MSrg== X-Gm-Message-State: AOAM530F0H/IG9+Cf10Ax002pA8V6ZHwEpXamtEhkeg7dCiEgC7a3EWl kwyWIn4mS4hNpuVTpMkpv1kZpcYuFewdiZqM X-Google-Smtp-Source: ABdhPJxqnd13iAydo8mLXgCIIxT9UPJ9BBCu/heOSN0qdBPVVcWamnG9lGb0oYBU+WlFTUcO7alKxw== X-Received: by 2002:a2e:b8ce:: with SMTP id s14mr3683642ljp.475.1620311162287; Thu, 06 May 2021 07:26:02 -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 b40sm892908ljr.101.2021.05.06.07.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 07:26:01 -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: Thu, 6 May 2021 16:25:19 +0200 Message-Id: <20210506142526.28245-16-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210506142526.28245-1-mk@semihalf.com> References: <20210505073348.6394-1-mk@semihalf.com> <20210506142526.28245-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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