diff options
| author | Bhumika Goyal <[email protected]> | 2016-09-15 19:47:18 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-16 10:10:34 +0200 |
| commit | 30fde3a91ce7c0ea61f1b672e256d574b53f132f (patch) | |
| tree | c2609e0aefda5f361c55fb8952746426d0d836d3 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | bbac843d144cdabe0c63321a7e3325c62a0bb7a9 (diff) | |
Staging: netlogic: Remove unused function
The function xlr_wakeup_queue is not used anywhere in the kernel.
Therefore, remove it. The static unused functions were detected
using Coccinelle but the change was done by hand.
Script used:
@initialize:python@
@@
def display(name,p):
print(name,p[0].file)
@r1@
identifier func;
type T;
position p;
@@
static T func@p(...)
{
...
}
@r@
identifier r1.func;
@@
func
@script:python depends on !r@
func << r1.func;
p << r1.p;
@@
display(func,p)
Signed-off-by: Bhumika Goyal <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions