diff options
author | Gargi Sharma <gs051095@gmail.com> | 2017-03-09 00:15:49 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-09 18:18:20 +0100 |
commit | 4db665e50ccc75ee64eb3ccdf53850956a83cbb6 (patch) | |
tree | d1fba7b1f7a4aebd24d5e3ff7fd6fae98a146cd4 /drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | |
parent | staging: cxd2099: Remove redundant code (diff) | |
download | linux-dev-4db665e50ccc75ee64eb3ccdf53850956a83cbb6.tar.xz linux-dev-4db665e50ccc75ee64eb3ccdf53850956a83cbb6.zip |
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>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl8192e/rtl_pm.c')
0 files changed, 0 insertions, 0 deletions