diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-10-30 17:04:05 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 13:06:03 -0700 |
commit | aa54b60d63abf51227336de9c1ec13bdbabfee88 (patch) | |
tree | 1f5539b39e866282a2eebfad1d53841c121ccb48 /drivers/staging/ft1000 | |
parent | ad6128a3a16627e6bfd3f34db371365f0d341c6f (diff) | |
download | op-kernel-dev-aa54b60d63abf51227336de9c1ec13bdbabfee88.zip op-kernel-dev-aa54b60d63abf51227336de9c1ec13bdbabfee88.tar.gz |
staging: rts5208: 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>
Diffstat (limited to 'drivers/staging/ft1000')
0 files changed, 0 insertions, 0 deletions