[dahdi-commits] sruffell: branch linux/2.6 r10417 - /linux/branches/2.6/drivers/dahdi/xpp/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Jan 10 16:09:29 CST 2012
Author: sruffell
Date: Tue Jan 10 16:09:25 2012
New Revision: 10417
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10417
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>
Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10408
Modified:
linux/branches/2.6/drivers/dahdi/xpp/xpp_dahdi.c
Modified: linux/branches/2.6/drivers/dahdi/xpp/xpp_dahdi.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.6/drivers/dahdi/xpp/xpp_dahdi.c?view=diff&rev=10417&r1=10416&r2=10417
==============================================================================
--- linux/branches/2.6/drivers/dahdi/xpp/xpp_dahdi.c (original)
+++ linux/branches/2.6/drivers/dahdi/xpp/xpp_dahdi.c Tue Jan 10 16:09:25 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