2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/staging/cptm1217
Tapasweni Pathak 12c492cf46 staging: cptm1217: Remove useless cast on void pointer
void pointers do not need to be cast to other pointer types.

The semantic patch used to find this:

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

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

Build tested it.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-30 13:05:46 -07:00
..
clearpad_tm1217.c staging: cptm1217: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
cp_tm1217.h staging/cptm1217: fix checkpatch warnings 2012-07-19 16:11:26 -07:00
Kconfig staging: clearpad_tm1217 depends on INPUT 2010-11-19 17:17:45 -08:00
Makefile
TODO