Skip to contentSkip to conversation

octeon_ep_vf: Remove octep_vf_wq

PATCH Applied Simon Horman 3 participants 3 messages Apr 14, 2025 – Apr 15, 2025

Subsystems (3)
lore
Share & tools
lore

Simon Horman

author reviewer
#0 lore raw

PATCH 1/1 octeon_ep_vf: Remove octep_vf_wq

commit cb7dd712189f ("octeon_ep_vf: Add driver framework and device initialization") added octep_vf_wq but it has never been used. Remove it.

---
 drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c | 2 --
 drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h | 2 --
 2 files changed, 4 deletions(-)
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c +0 -2
index 18c922dd5fc6..5841e30dff2a 100644
@@ -18,8 +18,6 @@
 #include "octep_vf_config.h"
 #include "octep_vf_main.h"
 
-struct workqueue_struct *octep_vf_wq;
-
 /* Supported Devices */
 static const struct pci_device_id octep_vf_pci_id_tbl[] = {
 	{PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, OCTEP_PCI_DEVICE_ID_CN93_VF)},
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h +0 -2
index 1a352f41f823..b9f13506f462 100644
@@ -320,8 +320,6 @@ static inline u16 OCTEP_VF_MINOR_REV(struct octep_vf_device *oct)
 #define octep_vf_read_csr64(octep_vf_dev, reg_off)         \
 	readq((octep_vf_dev)->mmio.hw_addr + (reg_off))
 
-extern struct workqueue_struct *octep_vf_wq;
-
 int octep_vf_device_setup(struct octep_vf_device *oct);
 int octep_vf_setup_iqs(struct octep_vf_device *oct);
 void octep_vf_free_iqs(struct octep_vf_device *oct);
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · * Simon Horman ([email protected]) wrote:

commit cb7dd712189f ("octeon_ep_vf: Add driver framework and device initialization") added octep_vf_wq but it has never been used. Remove it.

Thanks,

Quoted 32 lines
---
 drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c | 2 --
 drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h | 2 --
 2 files changed, 4 deletions(-)
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c +0 -2
index 18c922dd5fc6..5841e30dff2a 100644
@@ -18,8 +18,6 @@
 #include "octep_vf_config.h"
 #include "octep_vf_main.h"
 
-struct workqueue_struct *octep_vf_wq;
-
 /* Supported Devices */
 static const struct pci_device_id octep_vf_pci_id_tbl[] = {
 	{PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, OCTEP_PCI_DEVICE_ID_CN93_VF)},
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h +0 -2
index 1a352f41f823..b9f13506f462 100644
@@ -320,8 +320,6 @@ static inline u16 OCTEP_VF_MINOR_REV(struct octep_vf_device *oct)
 #define octep_vf_read_csr64(octep_vf_dev, reg_off)         \
 	readq((octep_vf_dev)->mmio.hw_addr + (reg_off))
 
-extern struct workqueue_struct *octep_vf_wq;
-
 int octep_vf_device_setup(struct octep_vf_device *oct);
 int octep_vf_setup_iqs(struct octep_vf_device *oct);
 void octep_vf_free_iqs(struct octep_vf_device *oct);
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#2 lore raw
In reply to Simon Horman
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 14 Apr 2025 17:44:48 +0100 you wrote:

commit cb7dd712189f ("octeon_ep_vf: Add driver framework and device initialization") added octep_vf_wq but it has never been used. Remove it.

[...]

Here is the summary with links:
- [net-next] octeon_ep_vf: Remove octep_vf_wq

    https://git.kernel.org/netdev/net-next/c/bbfc077d4572

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html