removed some useless #warnings to beautify compiling :), also removed the davor,danach fields since they where not used
This commit is contained in:
parent
bcf464c910
commit
17c5b66c32
|
@ -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__);
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue