From: Rami Rosen Date: Sat, 25 Feb 2012 02:09:46 +0000 (+0000) Subject: xfrm: remove unneeded method typedef declaration in net/xfrm.h. X-Git-Tag: v3.12-rc1~3664^2~181 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=946a720c814ff63a9e5c7755395bff080b931eae;p=kernel%2Fkernel-generic.git 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 Signed-off-by: David S. Miller --- diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 89174e29..96239e7 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)