diff options
| author | Bhanusree Pola <[email protected]> | 2019-03-22 18:10:10 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-22 15:16:28 +0100 |
| commit | a41d42a9fda3a0aac36edeeb730da85e8cab0b1d (patch) | |
| tree | afad2aba86a77b7c6aac5f17016b6b5dc7ed1530 /tools/perf/scripts/python/bin | |
| parent | 83cdfc17a907905fa790f8afe89196d8ee960682 (diff) | |
Staging: gdm724x: Remove unnecessary print statements
Remove print statements that provide information about error messages
when memory allocation is failed.
Issue found using coccinelle
The following semantic patch is used to solve this:
<smpl>
@@
expression x;
constant char[] C;
identifier f;
@@
x = (\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\|
usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\)(...));
if(x==NULL)
{
...
(
-f(C,...);
|
-f(...,C);
)
...
}
</smpl>
Signed-off-by: Bhanusree Pola <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions