linux/drivers/staging/dgnc
Tapasweni Pathak fc33bd2921 staging: dgnc: 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
..
dgnc_cls.c staging: dgnc: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
dgnc_cls.h
dgnc_driver.c staging: dgnc: remove debug symbols 2014-10-28 16:12:39 +08:00
dgnc_driver.h staging: dgnc: remove debug symbols 2014-10-28 16:12:39 +08:00
dgnc_kcompat.h staging: dgnc: dgnc_kcompat.h: remove unused macro 2014-10-28 16:12:39 +08:00
dgnc_mgmt.c
dgnc_mgmt.h
dgnc_neo.c staging: dgnc: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
dgnc_neo.h
dgnc_pci.h
dgnc_sysfs.c staging: dgnc: remove debug symbols 2014-10-28 16:12:39 +08:00
dgnc_sysfs.h
dgnc_tty.c staging: dgnc: delete successive assignments to the same location 2014-10-28 15:41:43 +08:00
dgnc_tty.h Staging: dgnc: Remove unused sniff code 2014-10-23 08:34:25 +08:00
dgnc_types.h
dgnc_utils.c
dgnc_utils.h
digi.h
dpacompat.h
Kconfig
Makefile
TODO