From: Antonio Quartulli <a@unstable.cc>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <a@unstable.cc>
Subject: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: remove useless forward declarations
Date: Sat, 21 May 2016 20:17:55 +0800 [thread overview]
Message-ID: <20160521121756.27450-1-a@unstable.cc> (raw)
If main.h is included, the batman-adv private forward declarations are
not needed anymore. Remove them.
Cc: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
---
net/batman-adv/gateway_client.h | 1 -
net/batman-adv/icmp_socket.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h
index 582dd8c..c74aca5 100644
--- a/net/batman-adv/gateway_client.h
+++ b/net/batman-adv/gateway_client.h
@@ -22,7 +22,6 @@
#include <linux/types.h>
-struct batadv_tvlv_gateway_data;
struct seq_file;
struct sk_buff;
diff --git a/net/batman-adv/icmp_socket.h b/net/batman-adv/icmp_socket.h
index 618d5de..ce3ed25 100644
--- a/net/batman-adv/icmp_socket.h
+++ b/net/batman-adv/icmp_socket.h
@@ -22,8 +22,6 @@
#include <linux/types.h>
-struct batadv_icmp_header;
-
#define BATADV_ICMP_SOCKET "socket"
void batadv_socket_init(void);
--
2.8.3
next reply other threads:[~2016-05-21 12:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-21 12:17 Antonio Quartulli [this message]
2016-05-21 12:17 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: move include line at the same place as other files Antonio Quartulli
2016-05-21 12:32 ` Sven Eckelmann
2016-06-06 16:12 ` Marek Lindner
2016-05-21 12:30 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: remove useless forward declarations Sven Eckelmann
2016-05-21 12:32 ` Antonio Quartulli
2016-06-06 16:10 ` Marek Lindner
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=20160521121756.27450-1-a@unstable.cc \
--to=a@unstable.cc \
--cc=b.a.t.m.a.n@lists.open-mesh.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.