]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69cb9a26fbdc05596a858a8f7d19fb1cf48ed3d7
tree7b68b1b7eb5351f5f4320b82757eb25e63a01776
parente7f3290d30354390519c955447e1587e0b034a3a
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