aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHimangi Saraogi <[email protected]>2014-08-10 13:06:47 +0530
committerDavid S. Miller <[email protected]>2014-08-11 12:37:04 -0700
commitdb569581277d0018bcf4322308de45199e228b3c (patch)
tree513f7f00b6889388d9f07403b222e41334ae9554 /tools/perf/util/scripting-engines/trace-event-python.c
parent65eca28d6df840497d540fb1a83824bf8191f535 (diff)
wan: wanxl: Remove typedefs from struct names
The Linux kernel coding style guidelines suggest not using typedefs for structure types. This patch gets rid of the typedefs for port_t, card_status_t and card_t. Also, the names of the structs are changed to drop the _t, to make the name look less typedef-like. The following Coccinelle semantic patch detects two cases and a similar one detects the case for card_t. @tn1@ type td; @@ typedef struct { ... } td; @script:python tf@ td << tn1.td; tdres; @@ coccinelle.tdres = td; @@ type tn1.td; identifier tf.tdres; @@ -typedef struct + tdres { ... } -td ; @@ type tn1.td; identifier tf.tdres; @@ -td + struct tdres Signed-off-by: Himangi Saraogi <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions