Staging: vc04_services: vchiq_arm: Remove unused function remote_event_destroy
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 6 Oct 2016 18:10:01 +0000 (23:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:21 +0000 (10:24 +0200)
commit43ff7f53de2294a83dcf84b35de6ffa1ffafae9d
treeef222f6460ed35e259f005f7fb3a25324a531b0b
parent02ae32f754a6cb006a7dc5305bf6e5ade1a95095
Staging: vc04_services: vchiq_arm: Remove unused function remote_event_destroy

Remove function remote_event_destroy as it is not used anywhere in the
kernel. Function detected using Coccinelle but changes done by hand.
Script:

@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 <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c