commit | e3b6db3294b079b5bc986cceb465feddf3623906 | [log] [tgz] |
---|---|---|
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | Thu Oct 30 17:04:15 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 30 13:06:03 2014 -0700 |
tree | 3f55037baf74362e1e0535ad5bf8aeef6a760755 | |
parent | aa54b60d63abf51227336de9c1ec13bdbabfee88 [diff] |
staging: ft1000: ft1000-pcmcia: 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>