aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBhumika Goyal <[email protected]>2016-02-28 22:55:29 +0530
committerGreg Kroah-Hartman <[email protected]>2016-03-11 22:09:09 -0800
commitc15cc49810fe2547cbf3ac58f6939f0f69a6c1c5 (patch)
tree7e66582e51d8dff9ce217a1904d9d2b7ba2a9429 /tools/perf/scripts/python/netdev-times.py
parentb32f6fdc9b82296c22d0bd0896f11643fb3e0cd5 (diff)
Staging: rtl8723au: Remove print statements and debug messages
The memory allocation functions generates a call stack containing all the context information on failure, so print statements and debug messages can be removed on failure of these functions. Also remove unwanted {} around if block after removal of these messages. Done using coccinelle: @@ expression e; @@ e=\(kmalloc\|kmalloc\|kmalloc_array\|alloc_netdev\|kzalloc\| devm_kzalloc\|devm_ioremap\)(...); ... if(!e){ - \(DBG_8723A\|printk\|pr_err\|CERROR\|DBG_88E\)(...); ...when any } Signed-off-by: Bhumika Goyal <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions