Remove unused XFRM_STATE_VOID and typos (net/xfrm.h)
Subsystems (3)
PATCH 1/1 Remove unused XFRM_STATE_VOID and typos (net/xfrm.h)
Hi,
In net/xfrm.h:
- remove XFRM_STATE_VOID (not in use)
- correct 3 typos
Regards,
Rami Rosen
Signed-off-by Rami Rosen <[email protected]>
include/net/xfrm.h +3 -4
@@ -84,10 +84,10 @@ extern struct mutex xfrm_cfg_mutex; |---. child .-> dst -. xfrm .-> xfrm_state #3 |---. child .-> NULL - Bundles are cached at xrfm_policy struct (field ->bundles). + Bundles are cached at xfrm_policy struct (field ->bundles). - Resolution of xrfm_tmpl + Resolution of xfrm_tmpl ----------------------- Template contains: 1. ->mode Mode: transport or tunnel
@@ -133,7 +133,7 @@ struct xfrm_stateu32 genid; -/* Key manger bits */ +/* Key manager bits */ struct {u8 state;u8 dying;
@@ -217,7 +217,6 @@ struct xfrm_state#define XFRM_TIME_DEFER 1enum { -XFRM_STATE_VOID ,XFRM_STATE_ACQ ,XFRM_STATE_VALID ,XFRM_STATE_ERROR ,
David Miller
maintainerFrom: "Rami Rosen" <[email protected]>
Date: Sat, 12 Jan 2008 13:37:34 +0200
Quoted 5 lines
In
net/xfrm.h:
- removeXFRM_STATE_VOID(not in use)
- correct 3 typosSigned-off-by Rami Rosen <[email protected]>
XFRM_STATE_VOID is there so that a freshly initialized object does not have a valid state. So we should not remove this.