Skip to contentSkip to conversation

netfilter: remove include/net/netfilter/nft_dup.h

PATCH Applied Corentin Labbe 2 participants 2 messages Jun 7, 2018 – Jun 8, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: remove include/net/netfilter/nft_dup.h

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.

---
 include/net/netfilter/nft_dup.h | 10 ----------
 1 file changed, 10 deletions(-)
 delete mode 100644 include/net/netfilter/nft_dup.h
include/net/netfilter/nft_dup.h deleted +0 -10
deleted file mode 100644
index 4d9d512984b2..000000000000
@@ -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_ */
Signature · 1 line
2.16.4
maintainer Applied
#1 lore raw
Quoted 4 lines · 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.

Applied.