From: "Michael Kühn" <breiteseite1337@googlemail.com>
To: linux-kernel@vger.kernel.org
Subject: [x86_64] remove unused variable from drivers/ata/ahci.c
Date: Sat, 15 Dec 2007 01:11:44 +0100 [thread overview]
Message-ID: <47631BC0.5090500@googlemail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
Hi,
my first kernel patch, yay. :-)
On the file drivers/ata/ahci.c in line 1433 is declared a variable that
is never used in the function. I removed it.
Patch is in attachments (based on 2.6.23.10).
[-- Attachment #2: ahci.patch --]
[-- Type: text/x-patch, Size: 355 bytes --]
--- linux-2.6.23.10/drivers/ata/ahci.c 2007-12-14 19:01:59.000000000 +0100
+++ linux-2.6.23.10.new/drivers/ata/ahci.c 2007-12-15 01:03:41.000000000 +0100
@@ -1430,7 +1430,6 @@
{
void __iomem *port_mmio = ap->ioaddr.cmd_addr;
struct ata_eh_info *ehi = &ap->eh_info;
- struct ahci_port_priv *pp = ap->private_data;
u32 status, qc_active;
int rc;
next reply other threads:[~2007-12-14 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 0:11 Michael Kühn [this message]
2007-12-15 2:41 ` [x86_64] remove unused variable from drivers/ata/ahci.c Mark Lord
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=47631BC0.5090500@googlemail.com \
--to=breiteseite1337@googlemail.com \
--cc=linux-kernel@vger.kernel.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 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.