diff mbox

[2/2] include: kill unused PLD_* macros

Message ID 1370251105-12450-2-git-send-email-fw@strlen.de
State Accepted
Headers show

Commit Message

Florian Westphal June 3, 2013, 9:18 a.m. UTC
Signed-off-by: Florian Westphal <fw@strlen.de>
---
 include/network.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

Comments

Pablo Neira Ayuso June 5, 2013, 2:42 a.m. UTC | #1
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/network.h b/include/network.h
index 41c35af..79745f3 100644
--- a/include/network.h
+++ b/include/network.h
@@ -173,18 +173,6 @@  static inline int between(uint32_t seq1, uint32_t seq2, uint32_t seq3)
 	return seq3 - seq2 >= seq1 - seq2;
 }
 
-#define PLD_NETWORK2HOST(x)						 \
-({									 \
-	x->len = ntohs(x->len);						 \
-	x->query = ntohs(x->query);					 \
-})
-
-#define PLD_HOST2NETWORK(x)						 \
-({									 \
-	x->len = htons(x->len);						 \
-	x->query = htons(x->query);					 \
-})
-
 struct netattr {
 	uint16_t nta_len;
 	uint16_t nta_attr;