mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
mISDN: Remove the local max-card limit
This is not needed. Signed-off-by: Matthias Urlichs <smurf@smurf.noris.de> Signed-off-by: Karsten Keil <kkeil@suse.de>
This commit is contained in:
parent
11618496d0
commit
9776ef0829
@ -34,7 +34,6 @@
|
||||
|
||||
static const char *hfcpci_revision = "2.0";
|
||||
|
||||
#define MAX_CARDS 8
|
||||
static int HFC_cnt;
|
||||
static uint debug;
|
||||
|
||||
@ -2077,9 +2076,6 @@ setup_card(struct hfc_pci *card)
|
||||
u_long flags;
|
||||
char name[MISDN_MAX_IDLEN];
|
||||
|
||||
if (HFC_cnt >= MAX_CARDS)
|
||||
return -EINVAL; /* maybe better value */
|
||||
|
||||
card->dch.debug = debug;
|
||||
spin_lock_init(&card->lock);
|
||||
mISDN_initdchannel(&card->dch, MAX_DFRAME_LEN_L1, ph_state);
|
||||
|
Loading…
Reference in New Issue
Block a user