staging: lustre: osc: Remove useless cast on void pointer
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 14 Oct 2015 18:50:03 +0000 (00:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:22:26 +0000 (22:22 -0700)
commit167a47c5207fdfbe633cf54518c0291c88d0d97f
treeb70ff3dc9789b93f9586844407e32d78dee59312
parent9581bada1f64003fd8cc7bc6cad3f0643877b439
staging: lustre: osc: Remove useless cast on void pointer

The semantic patch used to find this is:

@r@
expression x;
void* e;
type T;
identifier f;
@@

(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T *)x)->f
|
- (T *)
  e
)

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_request.c
This page took 0.025163 seconds and 5 git commands to generate.