diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-08-14 10:19:44 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-14 13:24:32 -0400 |
commit | c816fd3406462702dee2e3859e70132c3aab7c10 (patch) | |
tree | 510fd6c33ebe56c566d33d0068a9cc4f243f711e /fs/nfs | |
parent | 3ceb4dbb993fdab6a6fafc69db36686278871134 (diff) |
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index 238189ceae3f..0c26bb2d43d9 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c | |||
@@ -2433,11 +2433,6 @@ static int nfs4_xdr_enc_get_lease_time(struct rpc_rqst *req, uint32_t *p, | |||
2433 | * task to translate them into Linux-specific versions which are more | 2433 | * task to translate them into Linux-specific versions which are more |
2434 | * consistent with the style used in NFSv2/v3... | 2434 | * consistent with the style used in NFSv2/v3... |
2435 | */ | 2435 | */ |
2436 | #define READTIME(x) do { \ | ||
2437 | p++; \ | ||
2438 | (x.tv_sec) = ntohl(*p++); \ | ||
2439 | (x.tv_nsec) = ntohl(*p++); \ | ||
2440 | } while (0) | ||
2441 | #define COPYMEM(x,nbytes) do { \ | 2436 | #define COPYMEM(x,nbytes) do { \ |
2442 | memcpy((x), p, nbytes); \ | 2437 | memcpy((x), p, nbytes); \ |
2443 | p += XDR_QUADLEN(nbytes); \ | 2438 | p += XDR_QUADLEN(nbytes); \ |