diff options
author | Shraddha Barke | 2015-10-14 21:28:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-17 07:51:48 +0200 |
commit | 0d04cd1972d0d8c51845c243be160fef9480f219 (patch) | |
tree | 9cf2de7b4f688e6e55e5528721d3f2ac79720b73 /drivers/staging/rdma/hfi1/qsfp.c | |
parent | Staging: rtl8188eu: rtw_ieee80211: Remove unnecessary cast (diff) | |
download | kernel-qcow2-linux-0d04cd1972d0d8c51845c243be160fef9480f219.tar.gz kernel-qcow2-linux-0d04cd1972d0d8c51845c243be160fef9480f219.tar.xz kernel-qcow2-linux-0d04cd1972d0d8c51845c243be160fef9480f219.zip |
Staging: media: Remove unnecessary cast on void pointer
void pointers do not need to be cast to other pointer types.
The semantic patch used to find this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/hfi1/qsfp.c')
0 files changed, 0 insertions, 0 deletions