linux/drivers/staging/rtl8188eu
Tapasweni Pathak 037a449ac7 staging: rtl8188eu: os_dep: 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:49 -07:00
..
core staging: rtl8188eu: core: Remove useless cast on void pointer 2014-10-30 13:05:48 -07:00
hal staging: rtl8188eu: hal: Remove useless cast on void pointer 2014-10-30 13:05:49 -07:00
include Staging: rtl8188eu: include: Remove unused macros 2014-10-20 10:29:12 +08:00
os_dep staging: rtl8188eu: os_dep: Remove useless cast on void pointer 2014-10-30 13:05:49 -07:00
Kconfig
Makefile staging: rtl8188eu: Remove odm_debug.c 2014-09-23 23:47:12 -07:00
TODO