Merge branch 'next'
[safe/jmp/linux-2.6] / net / sunrpc / xprtrdma / rpc_rdma.c
index 15101f2..14106d2 100644 (file)
@@ -782,7 +782,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 */
@@ -821,7 +821,7 @@ repost:
                rpcrdma_inline_fixup(rqst, (char *)iptr, rep->rr_len, rdmalen);
                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 ||