staging: rtl8192e: Remove useless type conversion
authorGargi Sharma <gs051095@gmail.com>
Wed, 8 Mar 2017 18:45:49 +0000 (00:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 17:18:20 +0000 (18:18 +0100)
commit4db665e50ccc75ee64eb3ccdf53850956a83cbb6
treed1fba7b1f7a4aebd24d5e3ff7fd6fae98a146cd4
parent1f9f72f46aaa33f2935c6e31a5a91e75b4908ff6
staging: rtl8192e: Remove useless type conversion

Some type conversions like casting a pointer/non-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: Gargi Sharma <gs051095@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c