2016-03-21 17:37:54

by Luis de Bethencourt

[permalink] [raw]
Subject: [PATCH] ipv6: remove unused in6_addr struct

struct in6_addr isn't used anymore in inet6_connection_sock.h, removing
the forward declaration.

Fixes: 1b33bc3e9e90 ("ipv6: remove obsolete inet6 functions")
Signed-off-by: Luis de Bethencourt <[email protected]>
---
include/net/inet6_connection_sock.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/net/inet6_connection_sock.h b/include/net/inet6_connection_sock.h
index 064cfbe..954ad6b 100644
--- a/include/net/inet6_connection_sock.h
+++ b/include/net/inet6_connection_sock.h
@@ -15,7 +15,6 @@

#include <linux/types.h>

-struct in6_addr;
struct inet_bind_bucket;
struct request_sock;
struct sk_buff;
--
2.6.4


2016-03-21 18:13:31

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] ipv6: remove unused in6_addr struct

From: Luis de Bethencourt <[email protected]>
Date: Mon, 21 Mar 2016 17:37:28 +0000

> struct in6_addr isn't used anymore in inet6_connection_sock.h, removing
> the forward declaration.
>
> Fixes: 1b33bc3e9e90 ("ipv6: remove obsolete inet6 functions")
> Signed-off-by: Luis de Bethencourt <[email protected]>

Applied, thank you.

2016-03-21 19:19:49

by Luis de Bethencourt

[permalink] [raw]
Subject: Re: [PATCH] ipv6: remove unused in6_addr struct

On 21/03/16 18:13, David Miller wrote:
> From: Luis de Bethencourt <[email protected]>
> Date: Mon, 21 Mar 2016 17:37:28 +0000
>
>> struct in6_addr isn't used anymore in inet6_connection_sock.h, removing
>> the forward declaration.
>>
>> Fixes: 1b33bc3e9e90 ("ipv6: remove obsolete inet6 functions")
>> Signed-off-by: Luis de Bethencourt <[email protected]>
>
> Applied, thank you.
>

Thank you for all the recent reviews David :)

Luis