diff options
Diffstat (limited to 'drivers/isdn/hisax/callc.c')
-rw-r--r-- | drivers/isdn/hisax/callc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c index 025a20d487c5..475b1a020003 100644 --- a/drivers/isdn/hisax/callc.c +++ b/drivers/isdn/hisax/callc.c | |||
@@ -833,8 +833,6 @@ static struct FsmNode fnlist[] __initdata = | |||
833 | }; | 833 | }; |
834 | /* *INDENT-ON* */ | 834 | /* *INDENT-ON* */ |
835 | 835 | ||
836 | #define FNCOUNT (sizeof(fnlist)/sizeof(struct FsmNode)) | ||
837 | |||
838 | int __init | 836 | int __init |
839 | CallcNew(void) | 837 | CallcNew(void) |
840 | { | 838 | { |
@@ -842,7 +840,7 @@ CallcNew(void) | |||
842 | callcfsm.event_count = EVENT_COUNT; | 840 | callcfsm.event_count = EVENT_COUNT; |
843 | callcfsm.strEvent = strEvent; | 841 | callcfsm.strEvent = strEvent; |
844 | callcfsm.strState = strState; | 842 | callcfsm.strState = strState; |
845 | return FsmNew(&callcfsm, fnlist, FNCOUNT); | 843 | return FsmNew(&callcfsm, fnlist, ARRAY_SIZE(fnlist)); |
846 | } | 844 | } |
847 | 845 | ||
848 | void | 846 | void |