projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1161849
)
mISDN: Remove the local max-card limit
author
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 11 Aug 2008 12:43:33 +0000
(14:43 +0200)
committer
Karsten Keil
<kkeil@suse.de>
Fri, 9 Jan 2009 21:44:23 +0000
(22:44 +0100)
This is not needed.
Signed-off-by: Matthias Urlichs <smurf@smurf.noris.de>
Signed-off-by: Karsten Keil <kkeil@suse.de>
drivers/isdn/hardware/mISDN/hfcpci.c
patch
|
blob
|
history
diff --git
a/drivers/isdn/hardware/mISDN/hfcpci.c
b/drivers/isdn/hardware/mISDN/hfcpci.c
index 80c356e5dbe1813259074ba69516f4ef6d76c856..8461477a3ac03161393b63557f73c553bfd8fd24 100644
(file)
--- 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);