From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: lenb@linux.intel.com, linux-acpi@vger.kernel.org
Subject: [PATCH] acpi: compare of array
Date: Thu, 25 Oct 2012 15:57:50 +0100 [thread overview]
Message-ID: <20121025145746.17558.59853.stgit@localhost.localdomain> (raw)
From: Alan Cox <alan@linux.intel.com>
This serves no purpose as it's an array not a pointer
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
drivers/acpi/event.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c
index 1442737..f84df83 100644
--- a/drivers/acpi/event.c
+++ b/drivers/acpi/event.c
@@ -67,8 +67,7 @@ acpi_system_read_event(struct file *file, char __user * buffer, size_t count,
return result;
chars_remaining = sprintf(str, "%s %s %08x %08x\n",
- event.device_class ? event.
- device_class : "<unknown>",
+ event.device_class : "<unknown>",
event.bus_id ? event.
bus_id : "<unknown>", event.type,
event.data);
next reply other threads:[~2012-10-25 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-25 14:57 Alan Cox [this message]
2012-10-28 15:44 ` [PATCH] acpi: compare of array Lekensteyn
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=20121025145746.17558.59853.stgit@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=lenb@linux.intel.com \
--cc=linux-acpi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox