patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 1/6] vdpa/sfc: remove dead code
       [not found] <20240625122414.1065829-1-david.marchand@redhat.com>
@ 2024-06-25 12:24 ` David Marchand
  2024-06-25 14:25   ` Andrew Rybchenko
  0 siblings, 1 reply; 2+ messages in thread
From: David Marchand @ 2024-06-25 12:24 UTC (permalink / raw)
  To: dev; +Cc: stable, Vijay Kumar Srivastava, Maxime Coquelin, Andrew Rybchenko

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@dpdk.org

Signed-off-by: David Marchand <david.marchand@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/6] vdpa/sfc: remove dead code
  2024-06-25 12:24 ` [PATCH 1/6] vdpa/sfc: remove dead code David Marchand
@ 2024-06-25 14:25   ` Andrew Rybchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Rybchenko @ 2024-06-25 14:25 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: stable, Vijay Kumar Srivastava, Maxime Coquelin

On 6/25/24 15:24, David Marchand wrote:
> 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@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-25 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240625122414.1065829-1-david.marchand@redhat.com>
2024-06-25 12:24 ` [PATCH 1/6] vdpa/sfc: remove dead code David Marchand
2024-06-25 14:25   ` Andrew Rybchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).