[Openvpn-devel,net-next,3/3] ovpn: drop redundant workqueue_struct forward declaration

Message ID 66abb498beb30d5d51d64a7cd3e7d91a13171c27.1795704654.git.ralf@mandelbit.com
State New
Headers
Series ovpn: assorted cleanups |

Commit Message

Ralf Lici Nov. 26, 2026, 3:15 p.m. UTC
  ovpnpriv.h includes linux/workqueue.h, which already defines struct
workqueue_struct, and needs it for the delayed work in struct ovpn_priv.
Remove the redundant forward declaration added with ovpn_wq.

Signed-off-by: Ralf Lici <ralf@mandelbit.com>
---
 drivers/net/ovpn/ovpnpriv.h | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/drivers/net/ovpn/ovpnpriv.h b/drivers/net/ovpn/ovpnpriv.h
index 84499140e4bd..0f56da4eb65c 100644
--- a/drivers/net/ovpn/ovpnpriv.h
+++ b/drivers/net/ovpn/ovpnpriv.h
@@ -15,8 +15,6 @@ 
 #include <uapi/linux/if_link.h>
 #include <uapi/linux/ovpn.h>
 
-struct workqueue_struct;
-
 extern struct workqueue_struct *ovpn_wq;
 
 /**