commit | d591f5d0e548cb79a942be5fd86fbc714b530a39 | [log] [tgz] |
---|---|---|
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | Thu Oct 30 17:01:52 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 30 13:05:46 2014 -0700 |
tree | 07cb6bb039fb78c58075772e0a9e0ad8269b61f3 | |
parent | 12c492cf462704fcfc8c86046d539c16d57dfbe3 [diff] |
staging: dgap: Remove useless cast on void pointer void pointers do not need to be cast to other pointer types. The semantic patch used to find this: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Build tested it. Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>