From 17c451a6178020dd6772e88502544c693d818024 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 2 Jul 2009 21:10:25 +0000 Subject: wcb4xxp: Remove 'magic' debug member from b4xxp structure. Remove some stale debug code. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6824 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcb4xxp/base.c | 2 -- drivers/dahdi/wcb4xxp/wcb4xxp.h | 1 - 2 files changed, 3 deletions(-) (limited to 'drivers/dahdi/wcb4xxp') diff --git a/drivers/dahdi/wcb4xxp/base.c b/drivers/dahdi/wcb4xxp/base.c index 192303e..d0eed55 100644 --- a/drivers/dahdi/wcb4xxp/base.c +++ b/drivers/dahdi/wcb4xxp/base.c @@ -2694,7 +2694,6 @@ static int __devinit b4xx_probe(struct pci_dev *pdev, const struct pci_device_id } /* 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 @@ static void __devexit b4xxp_remove(struct pci_dev *pdev) pci_disable_device(pdev); b4->ioaddr = b4->addr = NULL; - b4->magic = 0; tasklet_kill(&b4->b4xxp_tlet); diff --git a/drivers/dahdi/wcb4xxp/wcb4xxp.h b/drivers/dahdi/wcb4xxp/wcb4xxp.h index 2807349..5b4890d 100644 --- a/drivers/dahdi/wcb4xxp/wcb4xxp.h +++ b/drivers/dahdi/wcb4xxp/wcb4xxp.h @@ -430,7 +430,6 @@ enum cards_ids { /* Cards ==> Brand & Model */ /* 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 */ -- cgit v1.2.3