[PATCH 1/6] vdpa/sfc: remove dead code
David Marchand
david.marchand at redhat.com
Tue Jun 25 14:24:09 CEST 2024
This is probably a copy/paste from the net/sfc driver.
sfc_logtype_driver is not a logtype variable from the sfc vDPA driver.
Remove it.
Fixes: 6dad9a7353d4 ("vdpa/sfc: support device initialization")
Cc: stable at dpdk.org
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
drivers/vdpa/sfc/sfc_vdpa_hw.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/vdpa/sfc/sfc_vdpa_hw.c b/drivers/vdpa/sfc/sfc_vdpa_hw.c
index edb7e35c2c..7e43719f53 100644
--- a/drivers/vdpa/sfc/sfc_vdpa_hw.c
+++ b/drivers/vdpa/sfc/sfc_vdpa_hw.c
@@ -13,8 +13,6 @@
#include "sfc_vdpa.h"
#include "sfc_vdpa_ops.h"
-extern uint32_t sfc_logtype_driver;
-
#ifndef PAGE_SIZE
#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
#endif
--
2.45.2
More information about the dev
mailing list