diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-10-23 10:43:31 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 14:43:40 -0500 |
commit | 8b827e1f1e46c45a4c9c389676f622e569d8a8ea (patch) | |
tree | 9aff84b139bbe5b825f16a974bc1382bcf9ab016 /net | |
parent | 1facf4c4a486d515759edc0b2ece927942dd8167 (diff) |
SUNRPC: remove BUG_ON from call_bc_transmit
Remove redundant 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 913140173739..a9dd1e835f70 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -1747,7 +1747,6 @@ call_bc_transmit(struct rpc_task *task) | |||
1747 | { | 1747 | { |
1748 | struct rpc_rqst *req = task->tk_rqstp; | 1748 | struct rpc_rqst *req = task->tk_rqstp; |
1749 | 1749 | ||
1750 | BUG_ON(task->tk_status != 0); | ||
1751 | task->tk_status = xprt_prepare_transmit(task); | 1750 | task->tk_status = xprt_prepare_transmit(task); |
1752 | if (task->tk_status == -EAGAIN) { | 1751 | if (task->tk_status == -EAGAIN) { |
1753 | /* | 1752 | /* |