commit | 0a9597b70c76234babf7650437578abaeb9259e1 | [log] [tgz] |
---|---|---|
author | Himangi Saraogi <himangi774@gmail.com> | Thu Jun 26 22:58:52 2014 +0530 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Jun 27 00:33:44 2014 +0200 |
tree | 91d756d82d3308f3435175db79b7c6a2fc5fa559 | |
parent | e2c76a8bad2fbeafcfb80aa749212b4b16e60257 [diff] |
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>