diff options
author | simran singhal <singhalsimran0@gmail.com> | 2017-04-01 17:18:39 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-04-02 11:52:18 +0300 |
commit | af873b0d8f586c07ec329d6d91eaa58ba5d7c662 (patch) | |
tree | 892698fbaec2156e46999122d86b30b1eecfffba /drivers/sh | |
parent | 407e0b537eadc9f5e98da74b746ce84f42b89cd7 (diff) | |
download | linux-af873b0d8f586c07ec329d6d91eaa58ba5d7c662.tar.xz |
iio: pressure: zpa2326: 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
)
Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions