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/rtl8192u/ieee80211/ieee80211_softmac.c | |
parent | 1f9f72f46aaa33f2935c6e31a5a91e75b4908ff6 (diff) | |
download | op-kernel-dev-4db665e50ccc75ee64eb3ccdf53850956a83cbb6.zip op-kernel-dev-4db665e50ccc75ee64eb3ccdf53850956a83cbb6.tar.gz |
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/rtl8192u/ieee80211/ieee80211_softmac.c')
0 files changed, 0 insertions, 0 deletions