Skip to contentSkip to conversation

ovpn: remove unused work field from struct ovpn_socket

PATCH New Ralf Lici 1 participant 1 message Jul 7

Subsystems (2)
lore
Share & tools
lore

Ralf Lici

author reviewer
#0 lore raw

PATCH 1/1 ovpn: remove unused work field from struct ovpn_socket

work in struct ovpn_socket was introduced but never used.

Remove it.

---
 drivers/net/ovpn/socket.h | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ovpn/socket.h +0 -2
index 4afcec71040d..5c87392ecd30 100644
@@ -24,7 +24,6 @@ struct ovpn_peer;
  * @peer: unique peer transmitting over this socket (TCP only)
  * @sk: the low level sock object
  * @refcount: amount of contexts currently referencing this object
- * @work: member used to schedule release routine (it may block)
  * @tcp_tx_work: work for deferring outgoing packet processing (TCP only)
  */
 struct ovpn_socket {
@@ -38,7 +37,6 @@ struct ovpn_socket {
 
 	struct sock *sk;
 	struct kref refcount;
-	struct work_struct work;
 	struct work_struct tcp_tx_work;
 };
 
Signature · 8 lines
2.54.0



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel