Patchwork [8/8] xfrm: Remove unused defines

login
register
mail settings
Submitter Steffen Klassert
Date Jan. 23, 2013, 8:19 a.m.
Message ID <1358929144-17806-9-git-send-email-steffen.klassert@secunet.com>
Download mbox | patch
Permalink /patch/214841/
State Accepted
Delegated to: David Miller
Headers show

Comments

Steffen Klassert - Jan. 23, 2013, 8:19 a.m.
XFRM_REPLAY_SEQ, XFRM_REPLAY_OSEQ and XFRM_REPLAY_SEQ_MASK
were introduced years ago but actually never used.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
---
 include/net/xfrm.h |    4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 63445ed..421f764 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -557,10 +557,6 @@  struct xfrm_migrate {
 };
 
 #define XFRM_KM_TIMEOUT                30
-/* which seqno */
-#define XFRM_REPLAY_SEQ		1
-#define XFRM_REPLAY_OSEQ	2
-#define XFRM_REPLAY_SEQ_MASK	3
 /* what happened */
 #define XFRM_REPLAY_UPDATE	XFRM_AE_CR
 #define XFRM_REPLAY_TIMEOUT	XFRM_AE_CE