]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Staging: fwserial: remove unused function fill_unplug_req
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 7 Oct 2016 14:21:28 +0000 (19:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:09 +0000 (10:25 +0200)
commit9ce7664405bd8919bba46c5f854f42a9a9186cc3
tree359ae9fdcebe9c18c62f625e5b8c1903d6f379f9
parentb1e9c8b76cf122e16a80422c84560148ec360f37
Staging: fwserial: remove unused function fill_unplug_req

The function fill_unplug_req is not used anywhere in the kernel, so
remove it. Done using Coccinelle.

@r1@
identifier func;
type T;
@@
static T func(...)
{
...
}

@r@
identifier r1.func;
@@
func

@delete depends on !r@
identifier r1.func;
type r1.T;
@@
- static T func(...){...}

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fwserial/fwserial.c