diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-26 19:28:52 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-06-27 00:33:44 +0200 |
commit | 0a9597b70c76234babf7650437578abaeb9259e1 (patch) | |
tree | 91d756d82d3308f3435175db79b7c6a2fc5fa559 /drivers/hid/hid-picolcd_debugfs.c | |
parent | HID: Kconfig: drop remove Unicode non-breaking space from Kconfig (diff) | |
download | linux-0a9597b70c76234babf7650437578abaeb9259e1.tar.xz linux-0a9597b70c76234babf7650437578abaeb9259e1.zip |
HID: roccat: Drop cast
This patch removes the cast on data of type void* as it is not needed.
The following Coccinelle semantic patch was used for making the change:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_debugfs.c')
0 files changed, 0 insertions, 0 deletions