From: jmmahler@gmail.com (Jeremiah Mahler)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] scsi: arm: cumana_1.c: Remove unused function
Date: Sat, 20 Dec 2014 08:50:45 -0800 [thread overview]
Message-ID: <20141220165045.GA5013@hudson.localdomain> (raw)
In-Reply-To: <1419093375-8016-1-git-send-email-rickard_strandqvist@spectrumdigital.se>
On Sat, Dec 20, 2014 at 05:36:15PM +0100, Rickard Strandqvist wrote:
> Remove the function cumanascsi_setup() that is not used anywhere.
>
> This was partially found by using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
> ---
> drivers/scsi/arm/cumana_1.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c
> index 8ef810a..7c90d9c 100644
> --- a/drivers/scsi/arm/cumana_1.c
> +++ b/drivers/scsi/arm/cumana_1.c
> @@ -38,10 +38,6 @@
>
> #include "../NCR5380.h"
>
> -void cumanascsi_setup(char *str, int *ints)
> -{
> -}
> -
> const char *cumanascsi_info(struct Scsi_Host *spnt)
> {
> return "";
[...]
You can blame Linus for this one :-)
~/linux-next$ git blame -L 38,40 drivers/scsi/arm/cumana_1.c
^1da177e (Linus Torvalds 2005-04-16 15:20:36 -0700 38) void
cumanascsi_setup(char *str, int *ints)
^1da177e (Linus Torvalds 2005-04-16 15:20:36 -0700 39) {
^1da177e (Linus Torvalds 2005-04-16 15:20:36 -0700 40) }
~/linux-next$
--
- Jeremiah Mahler
next prev parent reply other threads:[~2014-12-20 16:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-20 16:36 [PATCH] scsi: arm: cumana_1.c: Remove unused function Rickard Strandqvist
2014-12-20 16:50 ` Jeremiah Mahler [this message]
2014-12-20 16:55 ` Rickard Strandqvist
2014-12-20 16:58 ` Russell King - ARM Linux
2014-12-20 17:35 ` James Bottomley
2014-12-20 17:39 ` Russell King - ARM Linux
2014-12-30 12:45 ` Christoph Hellwig
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=20141220165045.GA5013@hudson.localdomain \
--to=jmmahler@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).