l2tp: cleanup l2tp_tunnel_delete calls
authorJiri Slaby <jslaby@suse.cz>
Wed, 25 Oct 2017 13:57:55 +0000 (15:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 04:48:32 +0000 (13:48 +0900)
commit4dc12ffeaeac939097a3f55c881d3dc3523dff0c
treed46fbaee66783335085a1b80f4430c6f7f16aa4e
parentc58320de5194b57858b829b8f204ca6bc1e38e10
l2tp: cleanup l2tp_tunnel_delete calls

l2tp_tunnel_delete does not return anything since commit 62b982eeb458
("l2tp: fix race condition in l2tp_tunnel_delete").  But call sites of
l2tp_tunnel_delete still do casts to void to avoid unused return value
warnings.

Kill these now useless casts.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Sabrina Dubroca <sd@queasysnail.net>
Cc: Guillaume Nault <g.nault@alphalink.fr>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Acked-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_netlink.c