]> Git Repo - linux.git/commit
Staging: lustre: libcfs: Drop unnecessary cast on void*
authorShraddha Barke <[email protected]>
Tue, 4 Aug 2015 17:32:33 +0000 (23:02 +0530)
committerGreg Kroah-Hartman <[email protected]>
Wed, 5 Aug 2015 19:18:00 +0000 (12:18 -0700)
commita12aaa92f3ccd15015e01373c2b60a3841aaebbb
tree4d909006f861463e8023fc36723e19c44ab62692
parent946b254697655f0ea0c54b1b0e20fb3b9aab99da
Staging: lustre: libcfs: Drop unnecessary cast on void*

This patch does away with the cast on void * as it is unnecessary.

Semantic patch used is as follows:

@r@
expression x;
void* e;
type T;
identifier f;
@@
(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T *)x)->f
|
- (T *)
  e
)

Signed-off-by: Shraddha Barke <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/lustre/lustre/libcfs/linux/linux-module.c
This page took 0.056972 seconds and 4 git commands to generate.