commit | 60d0ed1c425c71b6a87b1bace9a3b0f5efda9251 | [log] [tgz] |
---|---|---|
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | Thu Feb 25 15:17:38 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 11 22:09:09 2016 -0800 |
tree | 722f2883585a57e7f1b57bd1a46e61b6b6f49ec1 | |
parent | 350698f6efe844f9f40bf47da7bbab75eba34c61 [diff] |
staging: nvec: nvec.c: Drop void pointer cast Void pointers need not be cast to other pointer types. Semantic patch used: @r@ expression x; void *e; type T; identifier f; @@ ( *((T *)e) | ((T *)x) [...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>