diff options
author | Vasily Averin <vvs@virtuozzo.com> | 2018-12-24 14:46:00 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-12-28 05:01:41 +0300 |
commit | 64e20ba204df539a76004114e08abf1156302e35 (patch) | |
tree | 102fc8a0d5a5010df66946413d894468ac755ad8 /include/linux/sunrpc/svc_xprt.h | |
parent | 7ef88ff85ff71dd167d29d47bdb91c63cedcd554 (diff) | |
download | linux-64e20ba204df539a76004114e08abf1156302e35.tar.xz |
sunrpc: remove unused xpo_prep_reply_hdr callback
xpo_prep_reply_hdr are not used now.
It was defined for tcp transport only, however it cannot be
called indirectly, so let's move it to its caller and
remove unused callback.
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index 6b7a86c4d6e6..b3f9577e17d6 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h @@ -20,7 +20,6 @@ struct svc_xprt_ops { struct svc_xprt *(*xpo_accept)(struct svc_xprt *); int (*xpo_has_wspace)(struct svc_xprt *); int (*xpo_recvfrom)(struct svc_rqst *); - void (*xpo_prep_reply_hdr)(struct svc_rqst *); int (*xpo_sendto)(struct svc_rqst *); void (*xpo_release_rqst)(struct svc_rqst *); void (*xpo_detach)(struct svc_xprt *); |