]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
xfrm: remove unneeded method typedef declaration in net/xfrm.h.
authorRami Rosen <ramirose@gmail.com>
Sat, 25 Feb 2012 02:09:46 +0000 (02:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Feb 2012 01:19:24 +0000 (20:19 -0500)
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>
include/net/xfrm.h

index 89174e29dca99bf943aed6d3ed6544fd040f002e..96239e78e621fa0654d9e436d8cbe50b8ebff5d0 100644 (file)
@@ -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)