diff options
author | 2022-11-04 09:43:03 +0800 | |
---|---|---|
committer | 2022-12-10 10:59:30 -0500 | |
commit | 3ed157d0d73f15b6574424dd068ca5f5a8560562 (patch) | |
tree | e245e40f2cf068e2ee8de96b0dd37d0bdebc17b5 | |
parent | nfsd: fix up the filecache laundrette scheduling (diff) | |
download | linux-rng-3ed157d0d73f15b6574424dd068ca5f5a8560562.tar.xz linux-rng-3ed157d0d73f15b6574424dd068ca5f5a8560562.zip |
sunrpc: svc: Remove an unused static function svc_ungetu32()
The svc_ungetu32 function is not used, you could remove it.
Signed-off-by: Li zeming <zeming@nfschina.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r-- | include/linux/sunrpc/svc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 0edd837d401d..ed722dd33b46 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -220,13 +220,6 @@ static inline __be32 svc_getu32(struct kvec *iov) return val; } -static inline void svc_ungetu32(struct kvec *iov) -{ - __be32 *vp = (__be32 *)iov->iov_base; - iov->iov_base = (void *)(vp - 1); - iov->iov_len += sizeof(*vp); -} - static inline void svc_putu32(struct kvec *iov, __be32 val) { __be32 *vp = iov->iov_base + iov->iov_len; |