commit | 68ad546aefddb4dacdb78074df9dddb51424c427 | [log] [tgz] |
---|---|---|
author | simran singhal <singhalsimran0@gmail.com> | Wed Mar 29 00:35:16 2017 +0530 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Apr 07 17:29:17 2017 +0200 |
tree | d2b93e9ccabf2007bf9cc2b11446c37887161d08 | |
parent | dedb67c4b4e5fa2e6e149a2ce93e7848aaa9d762 [diff] |
netfilter: Remove unnecessary cast on void pointer The following Coccinelle script was used to detect this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Unnecessary parantheses are also remove. Signed-off-by: simran singhal <singhalsimran0@gmail.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>