Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
ec927082
Commit
ec927082
authored
Feb 28, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: table_item: kill unused f2 field
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
70429ee3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
fsm.c
fsm.c
+0
-2
ppsi.h
include/ppsi/ppsi.h
+0
-1
No files found.
fsm.c
View file @
ec927082
...
...
@@ -39,8 +39,6 @@ int pp_state_machine(struct pp_instance *ppi, uint8_t *packet, int plen)
if
(
pp_diag_verbosity
)
pp_diag_fsm
(
ppi
,
ip
->
name
,
STATE_ENTER
,
plen
);
err
=
ip
->
f1
(
ppi
,
packet
,
plen
);
if
(
!
err
&&
ip
->
f2
)
err
=
ip
->
f2
(
ppi
,
packet
,
plen
);
if
(
err
)
pp_diag_error
(
ppi
,
err
);
if
(
pp_diag_verbosity
)
...
...
include/ppsi/ppsi.h
View file @
ec927082
...
...
@@ -419,7 +419,6 @@ struct pp_state_table_item {
int
state
;
char
*
name
;
int
(
*
f1
)(
struct
pp_instance
*
ppi
,
uint8_t
*
packet
,
int
plen
);
int
(
*
f2
)(
struct
pp_instance
*
ppi
,
uint8_t
*
packet
,
int
plen
);
};
extern
struct
pp_state_table_item
pp_state_table
[];
/* 0-terminated */
...
...
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