summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2022-05-05 12:06:45 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2022-05-06 08:35:46 +0200
commit254c4a824c7c6a53360bc4974710e4213b8b7f5d (patch)
treec20b9dd17aa82558fbd12f2e573cfdef0456d841 /include/net/xfrm.h
parentnet/mlx5e: Use XFRM state direction instead of flags (diff)
downloadlinux-254c4a824c7c6a53360bc4974710e4213b8b7f5d.tar.xz
linux-254c4a824c7c6a53360bc4974710e4213b8b7f5d.zip
xfrm: drop not needed flags variable in XFRM offload struct
After drivers were converted to rely on direction, the flags is not used anymore and can be removed. Reviewed-by: Raed Salem <raeds@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 45422f7be0c5..736c349de8bf 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -136,7 +136,6 @@ struct xfrm_dev_offload {
netdevice_tracker dev_tracker;
struct net_device *real_dev;
unsigned long offload_handle;
- u8 flags;
u8 dir : 2;
};