diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2008-08-11 14:43:33 +0200 |
---|---|---|
committer | Karsten Keil <kkeil@suse.de> | 2009-01-09 22:44:23 +0100 |
commit | 9776ef0829ed33e8f36d9e7d859d00cc91c54ffd (patch) | |
tree | 4095cb47ac0b7095259e6dd05155ebc341203472 | |
parent | 11618496d03d9e1ad70ac68afbfa7df9b5fc19d1 (diff) | |
download | kernel_samsung_smdk4412-9776ef0829ed33e8f36d9e7d859d00cc91c54ffd.zip kernel_samsung_smdk4412-9776ef0829ed33e8f36d9e7d859d00cc91c54ffd.tar.gz kernel_samsung_smdk4412-9776ef0829ed33e8f36d9e7d859d00cc91c54ffd.tar.bz2 |
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>
-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 80c356e..8461477 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c @@ -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); |