Patchwork [net-next-2.6,RESEND] xfrm: remove unneeded method typedef declaration in net/xfrm.h.

login
register
mail settings
Submitter Rami Rosen
Date Feb. 25, 2012, 12:09 p.m.
Message ID <CAHLOa7Qz83kBc9xFeEXuiEWTq+C4bVoxD6bDt_3-ufGd7VrSDw@mail.gmail.com>
Download mbox | patch
Permalink /patch/143046/
State Accepted
Delegated to: David Miller
Headers show

Comments

Rami Rosen - Feb. 25, 2012, 12:09 p.m.
Hi,

 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>
David Miller - Feb. 26, 2012, 1:19 a.m.
From: Rami Rosen <ramirose@gmail.com>
Date: Sat, 25 Feb 2012 14:09:46 +0200

>  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>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 89174e2..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)