summaryrefslogtreecommitdiffstats
path: root/net/tipc/topsrv.c
diff options
context:
space:
mode:
authorZhaolong Zhang <zhangzl2013@126.com>2019-01-24 10:06:41 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-24 22:31:23 -0800
commit8eab6dac8d9704666f93aef12e534202a66b928d (patch)
tree06613e81ab5dfeeb7fbbcc9fd959227376ad294d /net/tipc/topsrv.c
parent58e0b4abf54cedbfccb34add28e3b1c5427b1998 (diff)
downloadlinux-8eab6dac8d9704666f93aef12e534202a66b928d.tar.gz
linux-8eab6dac8d9704666f93aef12e534202a66b928d.tar.bz2
linux-8eab6dac8d9704666f93aef12e534202a66b928d.zip
tipc: remove dead code in struct tipc_topsrv
max_rcvbuf_size is no longer used since commit "414574a0af36". Signed-off-by: Zhaolong Zhang <zhangzl2013@126.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/topsrv.c')
-rw-r--r--net/tipc/topsrv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/topsrv.c b/net/tipc/topsrv.c
index a457c0fbbef1..4a708a4e8583 100644
--- a/net/tipc/topsrv.c
+++ b/net/tipc/topsrv.c
@@ -60,7 +60,6 @@
* @awork: accept work item
* @rcv_wq: receive workqueue
* @send_wq: send workqueue
- * @max_rcvbuf_size: maximum permitted receive message length
* @listener: topsrv listener socket
* @name: server name
*/
@@ -72,7 +71,6 @@ struct tipc_topsrv {
struct work_struct awork;
struct workqueue_struct *rcv_wq;
struct workqueue_struct *send_wq;
- int max_rcvbuf_size;
struct socket *listener;
char name[TIPC_SERVER_NAME_LEN];
};
@@ -648,7 +646,6 @@ int tipc_topsrv_start(struct net *net)
return -ENOMEM;
srv->net = net;
- srv->max_rcvbuf_size = sizeof(struct tipc_subscr);
INIT_WORK(&srv->awork, tipc_topsrv_accept);
strscpy(srv->name, name, sizeof(srv->name));