2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/staging/rts5208
Tapasweni Pathak aa54b60d63 staging: rts5208: 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
..
general.c staging: rts5208: add new line after declarations 2014-09-23 13:22:25 -07:00
general.h
Kconfig Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option 2014-08-16 12:23:13 -07:00
Makefile
ms.c staging: rts5208: fix case of bitwise operator on zero in ms.c 2014-10-23 14:10:49 +08:00
ms.h
rtsx_card.c Staging: rts5208: Replace custom macro with dev_dbg 2014-07-30 17:22:18 -07:00
rtsx_card.h staging: rts5208: remove unnecessary else 2014-10-02 10:07:04 -07:00
rtsx_chip.c Staging: rts5208: helper function to enable interrupts during reset 2014-10-29 17:28:51 +08:00
rtsx_chip.h Staging: rts5208: Replace custom macro with dev_dbg 2014-07-30 17:22:18 -07:00
rtsx_scsi.c staging: rts5208: Delete braces are not necessary 2014-10-20 10:29:07 +08:00
rtsx_scsi.h Staging: rts5208: Replace custom macro with dev_dbg 2014-07-30 17:22:18 -07:00
rtsx_sys.h
rtsx_transport.c Staging: rts5028: rtsx_transport.c: fixed a brace coding style issue. 2014-10-28 15:58:18 +08:00
rtsx_transport.h staging, rts5208, LLVMLinux: Change extern inline to static inline 2014-10-29 16:28:17 -07:00
rtsx.c staging: rts5208: Remove useless cast on void pointer 2014-10-30 13:06:03 -07:00
rtsx.h Staging: rts5208: Replace custom macro with dev_dbg 2014-07-30 17:22:18 -07:00
sd.c Staging: rts5208: Fix checkpatch warning: Missing blank line 2014-09-23 13:22:25 -07:00
sd.h
spi.c Staging: rts5208: Replace custom macro with dev_dbg 2014-07-30 17:22:18 -07:00
spi.h
TODO
trace.h Staging: rts5208: Use dev_dbg and print_hex_dump_bytes to dump memory 2014-08-16 12:23:13 -07:00
xd.c Staging: rts5208: Replace custom macro with dev_dbg 2014-07-30 17:22:18 -07:00
xd.h