compressdev: remove unused driver id
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 21 May 2018 22:38:43 +0000 (23:38 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 22 May 2018 14:36:12 +0000 (16:36 +0200)
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 <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
lib/librte_compressdev/rte_compressdev_internal.h

index 9ec44f2..22ceac6 100644 (file)
@@ -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 */