[dahdi-commits] sruffell: linux/trunk r6824 - /linux/trunk/drivers/dahdi/wcb4xxp/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Jul 2 16:10:28 CDT 2009
Author: sruffell
Date: Thu Jul 2 16:10:25 2009
New Revision: 6824
URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6824
Log:
wcb4xxp: Remove 'magic' debug member from b4xxp structure.
Remove some stale debug code.
Modified:
linux/trunk/drivers/dahdi/wcb4xxp/base.c
linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h
Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=6824&r1=6823&r2=6824
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Thu Jul 2 16:10:25 2009
@@ -2694,7 +2694,6 @@
}
/* card found, enabled and main struct allocated. Fill it out. */
- b4->magic = WCB4XXP_MAGIC;
b4->variety = dt->desc;
b4->card_type = dt->card_type;
b4->pdev = pdev;
@@ -2864,7 +2863,6 @@
pci_disable_device(pdev);
b4->ioaddr = b4->addr = NULL;
- b4->magic = 0;
tasklet_kill(&b4->b4xxp_tlet);
Modified: linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h?view=diff&rev=6824&r1=6823&r2=6824
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h Thu Jul 2 16:10:25 2009
@@ -430,7 +430,6 @@
/* This structure exists one per card */
struct b4xxp {
- unsigned magic; /* magic value to make sure we're looking at our struct */
char *variety;
int chiprev; /* revision of HFC-4S */
More information about the dahdi-commits
mailing list