commit | efdcb35a82fdd6e91b890efd3d5a5d4045e64c08 | [log] [tgz] |
---|---|---|
author | Bhumika Goyal <bhumirks@gmail.com> | Sun Sep 18 17:56:24 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 20 13:35:45 2016 +0200 |
tree | 407b2cda9034cf0e42e5344c9a1b3bc90fbcd107 | |
parent | 182eec0eb75fc17455ff4d77f5e37ae4f0c5ea1c [diff] |
Staging: rtl8192u: Remove useless type conversion Some type conversions like casting a pointer to a pointer of same type, casting to the original type using addressof(&) operator etc. are not needed. Therefore, remove them. Done using coccinelle: @@ type t; t *p; t a; @@ ( - (t)(a) + a | - (t *)(p) + p | - (t *)(&a) + &a ) Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>