diff options
| -rw-r--r-- | net/caif/caif_socket.c | 7 | 
1 files changed, 0 insertions, 7 deletions
| diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index 3943398f70cd..4d918f8f4e67 100644 --- a/net/caif/caif_socket.c +++ b/net/caif/caif_socket.c | |||
| @@ -30,9 +30,6 @@ | |||
| 30 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); | 
| 31 | MODULE_ALIAS_NETPROTO(AF_CAIF); | 31 | MODULE_ALIAS_NETPROTO(AF_CAIF); | 
| 32 | 32 | ||
| 33 | #define CAIF_DEF_SNDBUF (4096*10) | ||
| 34 | #define CAIF_DEF_RCVBUF (4096*100) | ||
| 35 | |||
| 36 | /* | 33 | /* | 
| 37 | * CAIF state is re-using the TCP socket states. | 34 | * CAIF state is re-using the TCP socket states. | 
| 38 | * caif_states stored in sk_state reflect the state as reported by | 35 | * caif_states stored in sk_state reflect the state as reported by | 
| @@ -1118,10 +1115,6 @@ static int caif_create(struct net *net, struct socket *sock, int protocol, | |||
| 1118 | /* Store the protocol */ | 1115 | /* Store the protocol */ | 
| 1119 | sk->sk_protocol = (unsigned char) protocol; | 1116 | sk->sk_protocol = (unsigned char) protocol; | 
| 1120 | 1117 | ||
| 1121 | /* Sendbuf dictates the amount of outbound packets not yet sent */ | ||
| 1122 | sk->sk_sndbuf = CAIF_DEF_SNDBUF; | ||
| 1123 | sk->sk_rcvbuf = CAIF_DEF_RCVBUF; | ||
| 1124 | |||
| 1125 | /* | 1118 | /* | 
| 1126 | * Lock in order to try to stop someone from opening the socket | 1119 | * Lock in order to try to stop someone from opening the socket | 
| 1127 | * too early. | 1120 | * too early. | 
