net: drop capability from protocol definitions
authorEric Paris <eparis@redhat.com>
Fri, 6 Nov 2009 04:44:37 +0000 (20:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Nov 2009 05:40:17 +0000 (21:40 -0800)
commit13f18aa05f5abe135f47b6417537ae2b2fedc18c
tree3bcf8c52bd9d957fd09a87224c9d44566071f981
parent89794a6f3bf6db552b1ff4d2ad42fdd8739ac2a2
net: drop capability from protocol definitions

struct can_proto had a capability field which wasn't ever used.  It is
dropped entirely.

struct inet_protosw had a capability field which can be more clearly
expressed in the code by just checking if sock->type = SOCK_RAW.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
include/linux/can/core.h
include/net/protocol.h
net/can/af_can.c
net/can/bcm.c
net/can/raw.c
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/af_inet.c
net/ipv4/udplite.c
net/ipv6/af_inet6.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/ipv6/udplite.c
net/sctp/ipv6.c
net/sctp/protocol.c