diff options
| author | 2015-10-15 00:58:22 +0530 | |
|---|---|---|
| committer | 2015-10-16 22:26:35 -0700 | |
| commit | cca3241628f02fe68ce22a71bbc555d16915e6a8 (patch) | |
| tree | 103257a58000c1cba3288bd565abf13f4db59db0 /scripts/patch-kernel | |
| parent | Staging: lustre: ptlrpc: Remove unnecessary cast on void pointer (diff) | |
Staging: lustre: lnet: 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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
