1
0
Fork 0
alistair23-linux/drivers/staging/ft1000
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
..
ft1000-pcmcia staging: ft1000: Drop unneeded cast on netdev_priv 2015-04-03 14:00:14 +02:00
ft1000-usb Staging: ft1000: replace pr_err with dev_err 2015-03-18 11:16:36 +01:00
Kconfig staging: ft1000-pcmcia: Fix compilation errors. 2011-01-20 15:59:03 -08:00
Makefile
TODO
ft1000.h staging: ft1000: remove procfs entries 2014-07-27 11:45:46 -07:00