Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369361
b: refs/heads/master
c: 4d27712
h: refs/heads/master
i:
  369359: f2d9ea9
v: v3
  • Loading branch information
Vasundhara Volam authored and David S. Miller committed Apr 22, 2013
1 parent e89d8a8 commit a56a486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94d73aaa3fe42292a30eaad2ec011035ae25fa90
refs/heads/master: 4d277125d88f14947141083f323a75adf7e52989
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/emulex/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,10 +687,8 @@ static struct be_mcc_wrb *wrb_from_mccq(struct be_adapter *adapter)
if (!mccq->created)
return NULL;

if (atomic_read(&mccq->used) >= mccq->len) {
dev_err(&adapter->pdev->dev, "Out of MCCQ wrbs\n");
if (atomic_read(&mccq->used) >= mccq->len)
return NULL;
}

wrb = queue_head_node(mccq);
queue_head_inc(mccq);
Expand Down

0 comments on commit a56a486

Please sign in to comment.