diff options
| author | 2015-09-04 12:08:44 +0530 | |
|---|---|---|
| committer | 2015-09-12 18:24:48 -0700 | |
| commit | 91b4e64bfe5b2b2afe66ba5ec622c003d483f9e3 (patch) | |
| tree | 9ff4da8d5105cd4ffadbf99d7b5a9f30333e8b5c /scripts | |
| parent | Staging: lustre: obdclass: Use kasprintf instead of kzalloc and sprintf (diff) | |
Staging: lustre: lnet: 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
