diff options
author | 2017-09-01 12:13:34 +0530 | |
---|---|---|
committer | 2017-09-25 10:13:58 +0300 | |
commit | 50c8cd44ed5fcd2cbbfe19e5b1eb680aa4440186 (patch) | |
tree | 2b08e546f5f9bda5236df77b42cdfeb3ab71d8a2 /net/netfilter/x_tables.c | |
parent | Linux 4.14-rc1 (diff) | |
download | wireguard-linux-50c8cd44ed5fcd2cbbfe19e5b1eb680aa4440186.tar.xz wireguard-linux-50c8cd44ed5fcd2cbbfe19e5b1eb680aa4440186.zip |
ath9k: remove cast to void pointer
casting to void pointer from any pointer type and vice-versa is done
implicitly and therefore casting is not needed in such a case.
Done using Coccinellle.
Semantic Patch used :
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'net/netfilter/x_tables.c')
0 files changed, 0 insertions, 0 deletions