aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHarsha Sharma <harshasharmaiitr@gmail.com>2017-10-13 04:23:57 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2017-10-24 18:01:50 +0200
commit67704c2a05860edf8529c8271550148348737a8f (patch)
treeeaef2ccaa38165923eccb48dcace4b66d5d4fbff /net/switchdev/switchdev.c
parent28efb0046512e8a13ed9f9bdf0d68d10bbfbe9cf (diff)
downloadlinux-67704c2a05860edf8529c8271550148348737a8f.tar.gz
linux-67704c2a05860edf8529c8271550148348737a8f.tar.bz2
linux-67704c2a05860edf8529c8271550148348737a8f.zip
netfilter: nf_conntrack_h323: Remove typedef struct
Remove typedef from struct as linux-kernel coding style tends to avoid using typedefs. Done using following coccinelle semantic patch @r1@ type T; @@ typedef struct { ... } T; @script:python c1@ T2; T << r1.T; @@ if T[-2:] =="_t" or T[-2:] == "_T": coccinelle.T2 = T[:-2]; else: coccinelle.T2 = T; print T, coccinelle.T2 @r2@ type r1.T; identifier c1.T2; @@ -typedef struct + T2 { ... } -T ; @r3@ type r1.T; identifier c1.T2; @@ -T +struct T2 Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions