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 "debug.h"
|
||||||
#include <linux/isdn_compat.h>
|
#include <linux/isdn_compat.h>
|
||||||
|
|
||||||
#warning
|
//#warning
|
||||||
|
|
||||||
//#define IRQCOUNT_DEBUG
|
//#define IRQCOUNT_DEBUG
|
||||||
|
|
||||||
#include "hfc_multi.h"
|
#include "hfc_multi.h"
|
||||||
|
|
||||||
#warning
|
//#warning
|
||||||
|
|
||||||
#define bugtest {}
|
#define bugtest {}
|
||||||
#if 0
|
#if 0
|
||||||
#define bugtest \
|
#define bugtest \
|
||||||
|
@ -2438,8 +2439,6 @@ hfcmulti_initmode(hfc_multi_t *hc)
|
||||||
if (debug & DEBUG_HFCMULTI_INIT)
|
if (debug & DEBUG_HFCMULTI_INIT)
|
||||||
printk("%s: entered\n", __FUNCTION__);
|
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) {
|
if (hc->type == 1) {
|
||||||
nt_mode = test_bit(HFC_CFG_NTMODE, &hc->chan[16].cfg);
|
nt_mode = test_bit(HFC_CFG_NTMODE, &hc->chan[16].cfg);
|
||||||
hc->chan[16].slot_tx = -1;
|
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);
|
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)
|
if (debug & DEBUG_HFCMULTI_INIT)
|
||||||
printk("%s: done\n", __FUNCTION__);
|
printk("%s: done\n", __FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,8 +100,6 @@ typedef struct hfcmulti_hw hfcmulti_hw_t;
|
||||||
|
|
||||||
struct hfc_multi {
|
struct hfc_multi {
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
#warning
|
|
||||||
void *davor, *danach;
|
|
||||||
char name[32];
|
char name[32];
|
||||||
int idx; /* chip index for module parameters */
|
int idx; /* chip index for module parameters */
|
||||||
int id; /* chip number starting with 1 */
|
int id; /* chip number starting with 1 */
|
||||||
|
|
Loading…
Reference in New Issue