diff options
author | Yu Zhe <yuzhe@nfschina.com> | 2022-04-29 05:14:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-30 17:12:58 +0300 |
commit | 2e47eece158a7e5d2205be42e9c44b87302de1a7 (patch) | |
tree | 085d31da7d418c0ad743006562d3af304876130b /net/ipv4/fib_trie.c | |
parent | 36ffca1afea9b429d3e49aa0b6a68ecd93f3be11 (diff) | |
download | linux-2e47eece158a7e5d2205be42e9c44b87302de1a7.tar.xz |
ipv4: remove unnecessary type castings
remove unnecessary void* type castings.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
-rw-r--r-- | net/ipv4/fib_trie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 1f7f25532fa1..2734c3af7e24 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -2625,7 +2625,7 @@ static void fib_table_print(struct seq_file *seq, struct fib_table *tb) static int fib_triestat_seq_show(struct seq_file *seq, void *v) { - struct net *net = (struct net *)seq->private; + struct net *net = seq->private; unsigned int h; seq_printf(seq, |