All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next-2.6 RESEND] xfrm: remove unneeded method typedef declaration in net/xfrm.h.
@ 2012-02-25 12:09 Rami Rosen
  2012-02-26  1:19 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2012-02-25 12:09 UTC (permalink / raw)
  To: David Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

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>

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 589 bytes --]

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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next-2.6 RESEND] xfrm: remove unneeded method typedef declaration in net/xfrm.h.
  2012-02-25 12:09 [PATCH net-next-2.6 RESEND] xfrm: remove unneeded method typedef declaration in net/xfrm.h Rami Rosen
@ 2012-02-26  1:19 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-02-26  1:19 UTC (permalink / raw)
  To: ramirose; +Cc: netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-26  1:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-25 12:09 [PATCH net-next-2.6 RESEND] xfrm: remove unneeded method typedef declaration in net/xfrm.h Rami Rosen
2012-02-26  1:19 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.