From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D3ED71D9E for ; Tue, 22 May 2018 00:38:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2018 15:38:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,427,1520924400"; d="scan'208";a="60542157" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by orsmga002.jf.intel.com with ESMTP; 21 May 2018 15:38:22 -0700 From: Pablo de Lara To: fiona.trahe@intel.com, ashish.gupta@caviumnetworks.com Cc: dev@dpdk.org, Pablo de Lara Date: Mon, 21 May 2018 23:38:43 +0100 Message-Id: <20180521223843.7003-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.17.0 Subject: [dpdk-dev] [PATCH] compressdev: remove unused driver id X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 22:38:26 -0000 Driver id field is not set/used anywhere, so it should be removed from rte_compressdev structure. Fixes: ed7dd94f7f66 ("compressdev: add basic device management") Signed-off-by: Pablo de Lara --- lib/librte_compressdev/rte_compressdev_internal.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_compressdev/rte_compressdev_internal.h b/lib/librte_compressdev/rte_compressdev_internal.h index 9ec44f2c1..22ceac66e 100644 --- a/lib/librte_compressdev/rte_compressdev_internal.h +++ b/lib/librte_compressdev/rte_compressdev_internal.h @@ -79,9 +79,6 @@ struct rte_compressdev { struct rte_device *device; /**< Backing device */ - uint8_t driver_id; - /**< comp driver identifier*/ - __extension__ uint8_t attached : 1; /**< Flag indicating the device is attached */ -- 2.17.0