提交 9776ef08 编写于 作者: M Matthias Urlichs 提交者: Karsten Keil

mISDN: Remove the local max-card limit

This is not needed.
Signed-off-by: NMatthias Urlichs <smurf@smurf.noris.de>
Signed-off-by: NKarsten Keil <kkeil@suse.de>
上级 11618496
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册