diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-21 05:20:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-21 05:20:49 (GMT) |
commit | 6067804047b64dde89f4f133fc7eba48ee44107d (patch) | |
tree | abe87787c3ad2aee82e576c7d4128e29bb296ac0 /net/sunrpc/xprtrdma/rpc_rdma.c | |
parent | a574420ff46cff0245e6b0fce2e961aa2717743d (diff) | |
download | linux-6067804047b64dde89f4f133fc7eba48ee44107d.tar.xz |
net: Use hton[sl]() instead of __constant_hton[sl]() where applicable
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
-rw-r--r-- | net/sunrpc/xprtrdma/rpc_rdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xprtrdma/rpc_rdma.c index e55427f..5c1954d 100644 --- a/net/sunrpc/xprtrdma/rpc_rdma.c +++ b/net/sunrpc/xprtrdma/rpc_rdma.c @@ -769,7 +769,7 @@ repost: /* check for expected message types */ /* The order of some of these tests is important. */ switch (headerp->rm_type) { - case __constant_htonl(RDMA_MSG): + case htonl(RDMA_MSG): /* never expect read chunks */ /* never expect reply chunks (two ways to check) */ /* never expect write chunks without having offered RDMA */ @@ -802,7 +802,7 @@ repost: rpcrdma_inline_fixup(rqst, (char *)iptr, rep->rr_len); break; - case __constant_htonl(RDMA_NOMSG): + case htonl(RDMA_NOMSG): /* never expect read or write chunks, always reply chunks */ if (headerp->rm_body.rm_chunks[0] != xdr_zero || headerp->rm_body.rm_chunks[1] != xdr_zero || |