bpf: Remove unnecessary type castings
authorYu Zhe <yuzhe@nfschina.com>
Wed, 13 Apr 2022 01:50:48 +0000 (18:50 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 13 Apr 2022 23:02:24 +0000 (01:02 +0200)
commit241d50ec5d79b94694adf13853c1f55d0f0b85e6
treea758180d4c038af906d0b995abe4ae74b1455a08
parent68477ede4354858c77d230d31472cfc257931ed4
bpf: Remove unnecessary type castings

Remove/clean up unnecessary void * type castings.

Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220413015048.12319-1-yuzhe@nfschina.com
kernel/bpf/bpf_struct_ops.c
kernel/bpf/hashtab.c