net: ppp: Remove unnecessary (void*) conversions
authorWu Yunchuan <yunchuan@nfschina.com>
Mon, 17 Jul 2023 03:11:15 +0000 (11:11 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Jul 2023 02:00:47 +0000 (19:00 -0700)
commit89c04d6c49c36f7bb6e5d2f7c90dd0634d7a1642
tree172b239446de7109d790f8dee9929c9a5ec1edf6
parentf15fbe46f5ed473f547944ebafdff35372588fb5
net: ppp: Remove unnecessary (void*) conversions

No need cast (void*) to (struct sock *).

Signed-off-by: Wu Yunchuan <yunchuan@nfschina.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://lore.kernel.org/r/20230717031115.54432-1-yunchuan@nfschina.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ppp/pppoe.c
drivers/net/ppp/pptp.c