aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/isdnl3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/isdnl3.c')
-rw-r--r--drivers/isdn/hisax/isdnl3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/isdnl3.c b/drivers/isdn/hisax/isdnl3.c
index 935f23356fae..06766022d3ae 100644
--- a/drivers/isdn/hisax/isdnl3.c
+++ b/drivers/isdn/hisax/isdnl3.c
@@ -543,8 +543,6 @@ static struct FsmNode L3FnList[] __initdata =
543}; 543};
544/* *INDENT-ON* */ 544/* *INDENT-ON* */
545 545
546#define L3_FN_COUNT (sizeof(L3FnList)/sizeof(struct FsmNode))
547
548void 546void
549l3_msg(struct PStack *st, int pr, void *arg) 547l3_msg(struct PStack *st, int pr, void *arg)
550{ 548{
@@ -587,7 +585,7 @@ Isdnl3New(void)
587 l3fsm.event_count = L3_EVENT_COUNT; 585 l3fsm.event_count = L3_EVENT_COUNT;
588 l3fsm.strEvent = strL3Event; 586 l3fsm.strEvent = strL3Event;
589 l3fsm.strState = strL3State; 587 l3fsm.strState = strL3State;
590 return FsmNew(&l3fsm, L3FnList, L3_FN_COUNT); 588 return FsmNew(&l3fsm, L3FnList, ARRAY_SIZE(L3FnList));
591} 589}
592 590
593void 591void