git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice: remove redundant function
[dpdk.git]
/
drivers
/
common
/
iavf
/
iavf_impl.c
diff --git
a/drivers/common/iavf/iavf_impl.c
b/drivers/common/iavf/iavf_impl.c
index
70bab4c
..
0814731
100644
(file)
--- a/
drivers/common/iavf/iavf_impl.c
+++ b/
drivers/common/iavf/iavf_impl.c
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019 Intel Corporation
+ * Copyright(c) 2019
-2021
Intel Corporation
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-13,8
+13,6
@@
#include "iavf_type.h"
#include "iavf_prototype.h"
#include "iavf_type.h"
#include "iavf_prototype.h"
-int iavf_common_logger;
-
enum iavf_status
iavf_allocate_dma_mem_d(__rte_unused struct iavf_hw *hw,
struct iavf_dma_mem *mem,
enum iavf_status
iavf_allocate_dma_mem_d(__rte_unused struct iavf_hw *hw,
struct iavf_dma_mem *mem,
@@
-87,9
+85,4
@@
iavf_free_virt_mem_d(__rte_unused struct iavf_hw *hw,
return IAVF_SUCCESS;
}
return IAVF_SUCCESS;
}
-RTE_INIT(iavf_common_init_log)
-{
- iavf_common_logger = rte_log_register("pmd.common.iavf");
- if (iavf_common_logger >= 0)
- rte_log_set_level(iavf_common_logger, RTE_LOG_NOTICE);
-}
+RTE_LOG_REGISTER(iavf_common_logger, pmd.common.iavf, NOTICE);