summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-10-23 16:43:28 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 20:43:40 +0100
commit576e613d2111036a075b7c4f7cafdf29a0021c29 (patch)
treeb355827d936702792b833797b61330f2e07a3293 /net/sunrpc
parentSUNRPC: remove BUG_ON from rpc_run_bc_task (diff)
downloadlinux-576e613d2111036a075b7c4f7cafdf29a0021c29.tar.xz
linux-576e613d2111036a075b7c4f7cafdf29a0021c29.zip
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/sunrpc')
-rw-r--r--net/sunrpc/clnt.c1
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)
task->tk_action = call_transmit_status;
/* Encode here so that rpcsec_gss can use correct sequence number. */
if (rpc_task_need_encode(task)) {
- BUG_ON(task->tk_rqstp->rq_bytes_sent != 0);
rpc_xdr_encode(task);
/* Did the encode result in an error condition? */
if (task->tk_status != 0) {