staging: lustre: llite: Remove useless cast on void pointer
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Mon, 12 Oct 2015 21:43:02 +0000 (03:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Oct 2015 23:45:21 +0000 (16:45 -0700)
commitf9459c0aa4d924fb12e2f490bcbe790fa77ceb1e
tree7b68b1b7eb5351f5f4320b82757eb25e63a01776
parentf999d0987ec1e88c455fb95e48a12a98a9fbd9a6
staging: lustre: llite: 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/llite/statahead.c