OSDN Git Service

sunrpc: remove dead code in svc_sock_setbufsize
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jan 2018 11:21:04 +0000 (12:21 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 5 Feb 2018 22:13:16 +0000 (17:13 -0500)
commitd0945caafcccac9d8f4d78f99e0eac9e60386381
treee99ca1c4786ea82a759e79fd8cf8caacad18b6bb
parent482725027ff32bc857f5527fb17feda5361265fe
sunrpc: remove dead code in svc_sock_setbufsize

Setting values in struct sock directly is the usual method.  Remove
the long dead code using set_fs() and the related comment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c