linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter: remove include/net/netfilter/nft_dup.h
@ 2018-06-07 19:38 Corentin Labbe
  2018-06-08 10:42 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2018-06-07 19:38 UTC (permalink / raw)
  To: davem, fw, kadlec, pablo
  Cc: coreteam, linux-kernel, netdev, netfilter-devel, Corentin Labbe

include/net/netfilter/nft_dup.h was introduced in d877f07112f1 ("netfilter: nf_tables: add nft_dup expression")
but was never user since this date.

Furthermore, the only struct in this file is unused elsewhere.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 include/net/netfilter/nft_dup.h | 10 ----------
 1 file changed, 10 deletions(-)
 delete mode 100644 include/net/netfilter/nft_dup.h

diff --git a/include/net/netfilter/nft_dup.h b/include/net/netfilter/nft_dup.h
deleted file mode 100644
index 4d9d512984b2..000000000000
--- a/include/net/netfilter/nft_dup.h
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _NFT_DUP_H_
-#define _NFT_DUP_H_
-
-struct nft_dup_inet {
-	enum nft_registers	sreg_addr:8;
-	enum nft_registers	sreg_dev:8;
-};
-
-#endif /* _NFT_DUP_H_ */
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] netfilter: remove include/net/netfilter/nft_dup.h
  2018-06-07 19:38 [PATCH] netfilter: remove include/net/netfilter/nft_dup.h Corentin Labbe
@ 2018-06-08 10:42 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2018-06-08 10:42 UTC (permalink / raw)
  To: Corentin Labbe
  Cc: davem, fw, kadlec, coreteam, linux-kernel, netdev, netfilter-devel

On Thu, Jun 07, 2018 at 07:38:09PM +0000, Corentin Labbe wrote:
> include/net/netfilter/nft_dup.h was introduced in d877f07112f1 ("netfilter: nf_tables: add nft_dup expression")
> but was never user since this date.
> 
> Furthermore, the only struct in this file is unused elsewhere.

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-08 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 19:38 [PATCH] netfilter: remove include/net/netfilter/nft_dup.h Corentin Labbe
2018-06-08 10:42 ` Pablo Neira Ayuso

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).