[svn-commits] tzafrir: branch linux/2.5 r10420 - /linux/branches/2.5/drivers/dahdi/xpp/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jan 11 06:04:00 CST 2012
Author: tzafrir
Date: Wed Jan 11 06:03:56 2012
New Revision: 10420
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10420
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.5/drivers/dahdi/xpp/xpp_dahdi.c
Modified: linux/branches/2.5/drivers/dahdi/xpp/xpp_dahdi.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.5/drivers/dahdi/xpp/xpp_dahdi.c?view=diff&rev=10420&r1=10419&r2=10420
==============================================================================
--- linux/branches/2.5/drivers/dahdi/xpp/xpp_dahdi.c (original)
+++ linux/branches/2.5/drivers/dahdi/xpp/xpp_dahdi.c Wed Jan 11 06:03:56 2012
@@ -747,7 +747,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 svn-commits
mailing list