linux/drivers/staging/media
Tapasweni Pathak d82e62deb5 staging: media: lirc: 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:48 -07:00
..
bcm2048 [media] radio-bcm2048.c: Fix some checkpatch.pl errors 2014-07-17 20:07:05 -03:00
cxd2099 staging: media: cxd2009: use usleep_range() 2014-10-20 10:29:16 +08:00
davinci_vpfe staging: media: davinci_vpfe: Remove useless cast on void pointer 2014-10-30 13:05:47 -07:00
dt3155v4l [media] be sure that HAS_DMA is enabled for vb2-dma-contig 2014-08-26 18:52:19 -03:00
lirc staging: media: lirc: Remove useless cast on void pointer 2014-10-30 13:05:48 -07:00
omap4iss staging: media: ompa4iss: Replace sprintf with snprintf 2014-10-20 10:29:16 +08:00
omap24xx staging: remove unneeded parentheses around the right hand side of an assignment 2014-10-27 10:33:06 +08:00
Kconfig [media] as102: promote it out of staging 2014-08-21 15:25:28 -05:00
Makefile [media] as102: promote it out of staging 2014-08-21 15:25:28 -05:00