diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-03-29 14:54:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-10 14:43:48 +0200 |
commit | 5dbc32a88f1e73f244e6134fc119dd4d60a398c0 (patch) | |
tree | 6480597fec626637d8951ad7b6f62adf28dd744c /scripts/kconfig/confdata.c | |
parent | sc16is7xx: expose RTS inversion in RS-485 mode (diff) | |
download | linux-5dbc32a88f1e73f244e6134fc119dd4d60a398c0.tar.xz linux-5dbc32a88f1e73f244e6134fc119dd4d60a398c0.zip |
n_gsm: 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>
Diffstat (limited to 'scripts/kconfig/confdata.c')
0 files changed, 0 insertions, 0 deletions