linux-hardened/drivers/staging/ft1000
Tapasweni Pathak e3b6db3294 staging: ft1000: ft1000-pcmcia: 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:06:03 -07:00
..
ft1000-pcmcia staging: ft1000: ft1000-pcmcia: Remove useless cast on void pointer 2014-10-30 13:06:03 -07:00
ft1000-usb staging: ft1000: do not initialise statics to 0 or NULL 2014-10-29 17:27:46 +08:00
ft1000.h staging: ft1000: remove procfs entries 2014-07-27 11:45:46 -07:00
Kconfig
Makefile
TODO