2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-04 19:54:03 +08:00
linux-next/drivers/staging/dgap
Tapasweni Pathak d591f5d0e5 staging: dgap: 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
..
dgap.c staging: dgap: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
dgap.h staging: dgap: remove unused 'runwait' variable 2014-09-23 23:39:24 -07:00
Kconfig staging,dgap: Add dependency on HAS_IOMEM 2014-01-15 14:51:22 -08:00
Makefile staging: dgap: Rename driver 2014-02-24 16:48:44 -08:00