Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
13ca440c
Commit
13ca440c
authored
Aug 02, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN: isdn_net state machine cleanup
Remove the unneeded state "ST_2".
parent
71041520
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
drivers/isdn/i4l/isdn_net.c
drivers/isdn/i4l/isdn_net.c
+3
-12
No files found.
drivers/isdn/i4l/isdn_net.c
View file @
13ca440c
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
enum
{
enum
{
ST_0
,
ST_0
,
ST_1
,
ST_1
,
ST_2
,
ST_2
_UNUSED
,
ST_3
,
ST_3
,
ST_4
,
ST_4
,
ST_5
,
ST_5
,
...
@@ -507,7 +507,8 @@ init_dialout(isdn_net_local *lp)
...
@@ -507,7 +507,8 @@ init_dialout(isdn_net_local *lp)
lp
->
dialstarted
=
jiffies
;
lp
->
dialstarted
=
jiffies
;
lp
->
dialwait_timer
=
0
;
lp
->
dialwait_timer
=
0
;
}
}
lp
->
dialstate
=
ST_2
;
lp
->
dialretry
=
0
;
lp
->
dialstate
=
ST_3
;
return
1
;
return
1
;
}
}
...
@@ -691,16 +692,6 @@ isdn_net_handle_event(isdn_net_local *lp, int pr, void *arg)
...
@@ -691,16 +692,6 @@ isdn_net_handle_event(isdn_net_local *lp, int pr, void *arg)
case
EV_NET_DIAL
:
case
EV_NET_DIAL
:
if
(
init_dialout
(
lp
)
==
0
)
if
(
init_dialout
(
lp
)
==
0
)
return
0
;
return
0
;
lp
->
dialstate
=
ST_2
;
goto
st_2_net_dial
;
}
break
;
case
ST_2
:
switch
(
pr
)
{
case
EV_NET_DIAL
:
st_2_net_dial:
lp
->
dialretry
=
0
;
lp
->
dialstate
=
ST_3
;
goto
st_3_net_dial
;
goto
st_3_net_dial
;
}
}
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment