removed some useless #warnings to beautify compiling :), also removed the davor,danach fields since they where not used

This commit is contained in:
Chrisian Richter 2006-05-12 09:08:07 +00:00
parent bcf464c910
commit 17c5b66c32
2 changed files with 4 additions and 9 deletions

View File

@ -103,12 +103,13 @@
#include "debug.h"
#include <linux/isdn_compat.h>
#warning
//#warning
//#define IRQCOUNT_DEBUG
#include "hfc_multi.h"
#warning
//#warning
#define bugtest {}
#if 0
#define bugtest \
@ -2438,8 +2439,6 @@ hfcmulti_initmode(hfc_multi_t *hc)
if (debug & DEBUG_HFCMULTI_INIT)
printk("%s: entered\n", __FUNCTION__);
#warning KARSTEN: this causes a crash on UP and SMP with multiple cards
// spin_lock_irqsave(&hc->lock, flags);
if (hc->type == 1) {
nt_mode = test_bit(HFC_CFG_NTMODE, &hc->chan[16].cfg);
hc->chan[16].slot_tx = -1;
@ -2600,8 +2599,6 @@ hfcmulti_initmode(hfc_multi_t *hc)
HFC_outb(hc, R_E1_WR_STA, r_e1_wr_sta);
}
#warning KARSTEN: this causes a crash on UP and SMP with multiple cards
// spin_unlock_irqrestore(&hc->lock, flags);
if (debug & DEBUG_HFCMULTI_INIT)
printk("%s: done\n", __FUNCTION__);
}

View File

@ -100,8 +100,6 @@ typedef struct hfcmulti_hw hfcmulti_hw_t;
struct hfc_multi {
struct list_head list;
#warning
void *davor, *danach;
char name[32];
int idx; /* chip index for module parameters */
int id; /* chip number starting with 1 */