1
0
Fork 0
alistair23-linux/drivers/staging/ft1000/ft1000-pcmcia
Julia Lawall a4820acfaf staging: ft1000: Drop unneeded cast on netdev_priv
The result of netdev_priv is already implicitly cast to the type of the
left side of the assignment.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
T *x;
@@

x =
- (T *)
  netdev_priv(...)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-03 14:00:14 +02:00
..
Makefile staging: ft1000: remove procfs entries 2014-07-27 11:45:46 -07:00
boot.h staging: ft1000: Whitespace neatening 2014-11-03 16:35:32 -08:00
ft1000.h staging: ft1000: Whitespace neatening 2014-11-03 16:35:32 -08:00
ft1000.img Staging: ft1000: fix mode of firmware image file 2010-09-22 08:35:42 -07:00
ft1000_cs.c Staging: ft1000: Use module_pcmcia_driver 2015-03-16 16:17:31 +01:00
ft1000_dnld.c staging: ft1000: Drop unneeded cast on netdev_priv 2015-04-03 14:00:14 +02:00
ft1000_hw.c ft1000-pcmcia: ft1000_hw.c: code refactoring: add ft1000_read_dsp_timer() 2015-03-26 11:07:41 +01:00