]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/dccp/ipv6.c
net: change proto destroy method to return void
[net-next-2.6.git] / net / dccp / ipv6.c
index f7fe2a572d7bb6bafc27de0e16411eb6cc68b5fd..eec3c47178906a9a4cf8606ce742088d62f915af 100644 (file)
@@ -1091,10 +1091,10 @@ static int dccp_v6_init_sock(struct sock *sk)
        return err;
 }
 
-static int dccp_v6_destroy_sock(struct sock *sk)
+static void dccp_v6_destroy_sock(struct sock *sk)
 {
        dccp_destroy_sock(sk);
-       return inet6_destroy_sock(sk);
+       inet6_destroy_sock(sk);
 }
 
 static struct timewait_sock_ops dccp6_timewait_sock_ops = {