log: remove unneeded logtype declaration

RTE_LOG_REGISTER macro already declares the log type.
Remove the unneeded log type declaration.

Fixes: 9c99878aa1 ("log: introduce logtype register macro")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Gage Eads <gage.eads@intel.com>
This commit is contained in:
Jerin Jacob 2020-07-06 18:38:11 +05:30 committed by David Marchand
parent c843fca96c
commit a7551b6c60
4 changed files with 0 additions and 7 deletions

View File

@ -48,7 +48,6 @@
TAILQ_HEAD(mlx5_vdpa_privs, mlx5_vdpa_priv) priv_list = TAILQ_HEAD(mlx5_vdpa_privs, mlx5_vdpa_priv) priv_list =
TAILQ_HEAD_INITIALIZER(priv_list); TAILQ_HEAD_INITIALIZER(priv_list);
static pthread_mutex_t priv_list_lock = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t priv_list_lock = PTHREAD_MUTEX_INITIALIZER;
int mlx5_vdpa_logtype;
static struct mlx5_vdpa_priv * static struct mlx5_vdpa_priv *
mlx5_vdpa_find_priv_resource_by_vdev(struct rte_vdpa_device *vdev) mlx5_vdpa_find_priv_resource_by_vdev(struct rte_vdpa_device *vdev)

View File

@ -18,7 +18,6 @@
static struct graph_head graph_list = STAILQ_HEAD_INITIALIZER(graph_list); static struct graph_head graph_list = STAILQ_HEAD_INITIALIZER(graph_list);
static rte_spinlock_t graph_lock = RTE_SPINLOCK_INITIALIZER; static rte_spinlock_t graph_lock = RTE_SPINLOCK_INITIALIZER;
static rte_graph_t graph_id; static rte_graph_t graph_id;
int rte_graph_logtype;
#define GRAPH_ID_CHECK(id) ID_CHECK(id, graph_id) #define GRAPH_ID_CHECK(id) ID_CHECK(id, graph_id)

View File

@ -34,9 +34,6 @@
#include "rte_rawdev.h" #include "rte_rawdev.h"
#include "rte_rawdev_pmd.h" #include "rte_rawdev_pmd.h"
/* dynamic log identifier */
int librawdev_logtype;
static struct rte_rawdev rte_rawdevices[RTE_RAWDEV_MAX_DEVS]; static struct rte_rawdev rte_rawdevices[RTE_RAWDEV_MAX_DEVS];
struct rte_rawdev *rte_rawdevs = rte_rawdevices; struct rte_rawdev *rte_rawdevs = rte_rawdevices;

View File

@ -17,8 +17,6 @@
#include "rte_stack.h" #include "rte_stack.h"
#include "stack_pvt.h" #include "stack_pvt.h"
int stack_logtype;
TAILQ_HEAD(rte_stack_list, rte_tailq_entry); TAILQ_HEAD(rte_stack_list, rte_tailq_entry);
static struct rte_tailq_elem rte_stack_tailq = { static struct rte_tailq_elem rte_stack_tailq = {