diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-10-23 10:43:28 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 14:43:40 -0500 |
commit | 576e613d2111036a075b7c4f7cafdf29a0021c29 (patch) | |
tree | b355827d936702792b833797b61330f2e07a3293 /net | |
parent | 9a6478f6cccbd15af30f02368e68b47390360485 (diff) |
SUNRPC: remove BUG_ON from call_transmit
Remove unneeded BUG_ON()
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/clnt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 32aea0b779c5..f1ab4a8ae22c 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -1664,7 +1664,6 @@ call_transmit(struct rpc_task *task) | |||
1664 | task->tk_action = call_transmit_status; | 1664 | task->tk_action = call_transmit_status; |
1665 | /* Encode here so that rpcsec_gss can use correct sequence number. */ | 1665 | /* Encode here so that rpcsec_gss can use correct sequence number. */ |
1666 | if (rpc_task_need_encode(task)) { | 1666 | if (rpc_task_need_encode(task)) { |
1667 | BUG_ON(task->tk_rqstp->rq_bytes_sent != 0); | ||
1668 | rpc_xdr_encode(task); | 1667 | rpc_xdr_encode(task); |
1669 | /* Did the encode result in an error condition? */ | 1668 | /* Did the encode result in an error condition? */ |
1670 | if (task->tk_status != 0) { | 1669 | if (task->tk_status != 0) { |