Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44668
b: refs/heads/master
c: d8172d8
h: refs/heads/master
v: v3
  • Loading branch information
Evgeniy Polyakov authored and David S. Miller committed Dec 18, 2006
1 parent 7712032 commit bde2062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 749494bad9ca170e404b8dcebe8422df0d79b3ac
refs/heads/master: d8172d822fb02d5c4f7508e41f9267428dd3d891
3 changes: 1 addition & 2 deletions trunk/drivers/connector/connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ static int cn_call_callback(struct cn_msg *msg, void (*destruct_data)(void *), v
spin_lock_bh(&dev->cbdev->queue_lock);
list_for_each_entry(__cbq, &dev->cbdev->queue_list, callback_entry) {
if (cn_cb_equal(&__cbq->id.id, &msg->id)) {
if (likely(!test_bit(WORK_STRUCT_PENDING,
&__cbq->work.work.management) &&
if (likely(!work_pending(&__cbq->work.work) &&
__cbq->data.ddata == NULL)) {
__cbq->data.callback_priv = msg;

Expand Down

0 comments on commit bde2062

Please sign in to comment.