From: Greg KH <gregkh@linuxfoundation.org>
To: Bhumika Goyal <bhumirks@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [PATCH] Staging: rts5208: xd: remove unused function xd_check_err_code
Date: Sun, 9 Oct 2016 16:55:42 +0200 [thread overview]
Message-ID: <20161009145542.GA26139@kroah.com> (raw)
In-Reply-To: <1475774068-22447-1-git-send-email-bhumirks@gmail.com>
On Thu, Oct 06, 2016 at 10:44:28PM +0530, Bhumika Goyal wrote:
> Remove the function xd_check_err_code as it is not used anywhere in
> the kernel. Function detected using Coccinelle but removed 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>
> ---
> drivers/staging/rts5208/xd.c | 7 -------
> 1 file changed, 7 deletions(-)
Patch does not apply to my tree :(
prev parent reply other threads:[~2016-10-09 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 17:14 [PATCH] Staging: rts5208: xd: remove unused function xd_check_err_code Bhumika Goyal
2016-10-09 14:55 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161009145542.GA26139@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=bhumirks@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.