]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/connector/cn_queue.c
[PATCH] drivers/acorn/char/pcf8583.[hc] vs. RTC subsystem
[linux-2.6-omap-h63xx.git] / drivers / connector / cn_queue.c
index 9f2f00d82917a748fb021cffcbac4a274e1434a9..05f8ce2cfb4ab77a950a54371c8559b7fa17ef49 100644 (file)
@@ -127,7 +127,7 @@ void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id)
 
        if (found) {
                cn_queue_free_callback(cbq);
-               atomic_dec_and_test(&dev->refcnt);
+               atomic_dec(&dev->refcnt);
        }
 }