diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2008-08-11 08:43:33 -0400 |
---|---|---|
committer | Karsten Keil <kkeil@suse.de> | 2009-01-09 16:44:23 -0500 |
commit | 9776ef0829ed33e8f36d9e7d859d00cc91c54ffd (patch) | |
tree | 4095cb47ac0b7095259e6dd05155ebc341203472 /drivers | |
parent | 11618496d03d9e1ad70ac68afbfa7df9b5fc19d1 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcpci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 80c356e5dbe1..8461477a3ac0 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | static const char *hfcpci_revision = "2.0"; | 35 | static const char *hfcpci_revision = "2.0"; |
36 | 36 | ||
37 | #define MAX_CARDS 8 | ||
38 | static int HFC_cnt; | 37 | static int HFC_cnt; |
39 | static uint debug; | 38 | static uint debug; |
40 | 39 | ||
@@ -2077,9 +2076,6 @@ setup_card(struct hfc_pci *card) | |||
2077 | u_long flags; | 2076 | u_long flags; |
2078 | char name[MISDN_MAX_IDLEN]; | 2077 | char name[MISDN_MAX_IDLEN]; |
2079 | 2078 | ||
2080 | if (HFC_cnt >= MAX_CARDS) | ||
2081 | return -EINVAL; /* maybe better value */ | ||
2082 | |||
2083 | card->dch.debug = debug; | 2079 | card->dch.debug = debug; |
2084 | spin_lock_init(&card->lock); | 2080 | spin_lock_init(&card->lock); |
2085 | mISDN_initdchannel(&card->dch, MAX_DFRAME_LEN_L1, ph_state); | 2081 | mISDN_initdchannel(&card->dch, MAX_DFRAME_LEN_L1, ph_state); |