2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/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 staging: dgnc: UART_IIR_XOFF code is buggy 2014-05-15 13:46:00 -07:00
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 staging: dgnc: Fix do not add new typedefs 2014-10-02 09:37:44 -07:00
dgnc_mgmt.h staging: dgnc: removes ifdef HAVE_UNLOCKED_IOCTL conditionals 2013-08-20 16:28:40 -07:00
dgnc_neo.c staging: dgnc: Remove useless cast on void pointer 2014-10-30 13:05:46 -07:00
dgnc_neo.h staging: dgnc: Fix typo in staging/dgnc 2013-09-17 07:47:46 -07:00
dgnc_pci.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_sysfs.c staging: dgnc: remove debug symbols 2014-10-28 16:12:39 +08:00
dgnc_sysfs.h staging: dgnc: renames board_t to dgnc_board 2013-09-17 07:47:43 -07:00
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 staging: dgnc: Fix do not add new typedefs 2014-10-02 09:37:44 -07:00
dgnc_utils.c staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
dgnc_utils.h staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
digi.h Staging: dgnc: Remove space before parenthesis 2014-09-28 22:53:38 -04:00
dpacompat.h staging: dgnc: Fix no spaces at the start of a line in dpacompat.h 2014-10-02 09:37:44 -07:00
Kconfig staging: dgnc: Kconfig: add dependency PCI for it 2013-08-26 06:29:09 -07:00
Makefile staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
TODO staging: dgnc: split two assignments into the two assignments on two lines. 2014-09-02 10:44:33 -07:00