From: Rob Herring <robh@kernel.org>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
Frank Rowand <frowand.list@gmail.com>
Subject: [PATCH 2/2] of: remove unused struct device_node.data ptr
Date: Thu, 20 Jul 2017 09:27:11 -0500 [thread overview]
Message-ID: <20170720142711.12847-2-robh@kernel.org> (raw)
In-Reply-To: <20170720142711.12847-1-robh@kernel.org>
There are no users for data pointer in the kernel, so it can be removed.
Signed-off-by: Rob Herring <robh@kernel.org>
---
include/linux/of.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/of.h b/include/linux/of.h
index 4a8a70916237..7312c8ac5221 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -60,7 +60,6 @@ struct device_node {
struct device_node *sibling;
struct kobject kobj;
unsigned long _flags;
- void *data;
#if defined(CONFIG_SPARC)
const char *path_component_name;
unsigned int unique_id;
--
2.11.0
next prev parent reply other threads:[~2017-07-20 14:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-20 14:27 [PATCH 1/2] net: mvneta: remove bogus use of device_node.data ptr Rob Herring
2017-07-20 14:27 ` Rob Herring [this message]
2017-07-20 15:06 ` [PATCH 1/2] net: mvneta: remove bogus use of Gregory CLEMENT
2017-07-20 16:01 ` Marcin Wojtas
2017-07-20 16:02 ` Rob Herring
[not found] ` <CAL_JsqKTwju4=J=X1kvk=77fE1VddPh2N-wCi3A0mCAu+Qg1mA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-04 15:26 ` Gregory CLEMENT
2017-08-04 15:49 ` Marcin Wojtas
[not found] ` <20170720142711.12847-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-07-20 17:02 ` [PATCH 1/2] net: mvneta: remove bogus use of device_node.data ptr Sergei Shtylyov
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=20170720142711.12847-2-robh@kernel.org \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=thomas.petazzoni@free-electrons.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 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).