diff options
| author | 2015-09-04 12:08:45 +0530 | |
|---|---|---|
| committer | 2015-09-12 18:24:48 -0700 | |
| commit | 3cf8e32d6d337e0c293cd1b192a970639291703e (patch) | |
| tree | 900a8b89690f5cf21fc1e1c2115b0586ef21a753 /scripts | |
| parent | Staging: lustre: lnet: Remove useless cast on void pointer (diff) | |
Staging: lustre: mdc: Remove useless 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')
0 files changed, 0 insertions, 0 deletions
