nfs: nfs4xdr: get rid of READTIME
It has no users. Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
3ceb4dbb99
commit
c816fd3406
@ -2433,11 +2433,6 @@ static int nfs4_xdr_enc_get_lease_time(struct rpc_rqst *req, uint32_t *p,
|
|||||||
* task to translate them into Linux-specific versions which are more
|
* task to translate them into Linux-specific versions which are more
|
||||||
* consistent with the style used in NFSv2/v3...
|
* consistent with the style used in NFSv2/v3...
|
||||||
*/
|
*/
|
||||||
#define READTIME(x) do { \
|
|
||||||
p++; \
|
|
||||||
(x.tv_sec) = ntohl(*p++); \
|
|
||||||
(x.tv_nsec) = ntohl(*p++); \
|
|
||||||
} while (0)
|
|
||||||
#define COPYMEM(x,nbytes) do { \
|
#define COPYMEM(x,nbytes) do { \
|
||||||
memcpy((x), p, nbytes); \
|
memcpy((x), p, nbytes); \
|
||||||
p += XDR_QUADLEN(nbytes); \
|
p += XDR_QUADLEN(nbytes); \
|
||||||
|
Loading…
Reference in New Issue
Block a user