ovpn: remove unused work field from struct ovpn_socket
Subsystems (2)
Ralf Lici
reviewerPATCH 1/1 ovpn: remove unused work field from struct ovpn_socket
work in struct ovpn_socket was introduced but never used.
Remove it.
Signed-off-by Ralf Lici <[email protected]>
--- drivers/net/ovpn/socket.h | 2 -- 1 file changed, 2 deletions(-)
drivers/net/ovpn/socket.h +0 -2
@@ -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