[dahdi-commits] tzafrir: linux/trunk r10408 - /linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Jan 5 11:33:52 CST 2012
Author: tzafrir
Date: Thu Jan 5 11:33:47 2012
New Revision: 10408
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10408
Log:
xpp: bugfix: fix bad refcount
Code path called in error condition contained an superflous put_xpd() call
Signed-off-by: Oron Peled <oron.peled at xorcom.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
Modified: linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c?view=diff&rev=10408&r1=10407&r2=10408
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c Thu Jan 5 11:33:47 2012
@@ -697,7 +697,6 @@
pos = chan->chanpos - 1;
if(!xpd->card_present) {
LINE_NOTICE(xpd, pos, "Cannot open -- device not ready\n");
- put_xpd(__FUNCTION__, xpd);
return -ENODEV;
}
spin_lock_irqsave(&xbus->lock, flags);
More information about the dahdi-commits
mailing list