]> 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)
commitea136e41bcf6cfdd169adad73a0182ff46ceaaa9
tree7b68b1b7eb5351f5f4320b82757eb25e63a01776
parent9755481031f1d8c90a1a7620b6a343e5c75e7efd
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