git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c76a8
)
HID: roccat: Drop cast
author
Himangi Saraogi
<himangi774@gmail.com>
Thu, 26 Jun 2014 17:28:52 +0000
(22:58 +0530)
committer
Jiri Kosina
<jkosina@suse.cz>
Thu, 26 Jun 2014 22:33:44 +0000
(
00:33
+0200)
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>
drivers/hid/hid-roccat-lua.c
patch
|
blob
|
history
diff --cc
drivers/hid/hid-roccat-lua.c
Simple merge