summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2012-02-25 02:09:46 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-25 20:19:24 -0500
commit946a720c814ff63a9e5c7755395bff080b931eae (patch)
tree98c60fbbd1412c3e4c8b08be2103017593b5894c /include/net
parent5d74f1757001f5b9a7739c2a9053435e16ce516b (diff)
downloadlinux-3.10-946a720c814ff63a9e5c7755395bff080b931eae.tar.gz
linux-3.10-946a720c814ff63a9e5c7755395bff080b931eae.tar.bz2
linux-3.10-946a720c814ff63a9e5c7755395bff080b931eae.zip
xfrm: remove unneeded method typedef declaration in net/xfrm.h.
The patch removes unneeded method typedef declaration (icv_update_fn_t ) and the two struct declarations which appear in its prototype (struct hash_desc and struct scatterlist) in net/xfrm.h. Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/xfrm.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 89174e29dca..96239e78e62 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1566,11 +1566,6 @@ extern struct xfrm_algo_desc *xfrm_calg_get_byname(const char *name, int probe);
extern struct xfrm_algo_desc *xfrm_aead_get_byname(const char *name, int icv_len,
int probe);
-struct hash_desc;
-struct scatterlist;
-typedef int (icv_update_fn_t)(struct hash_desc *, struct scatterlist *,
- unsigned int);
-
static inline int xfrm_addr_cmp(const xfrm_address_t *a,
const xfrm_address_t *b,
int family)