projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d85e68
)
sctp: remove the typedef sctp_cid_action_t
author
Xin Long
<
[email protected]
>
Fri, 30 Jun 2017 03:52:15 +0000
(11:52 +0800)
committer
David S. Miller
<
[email protected]
>
Sat, 1 Jul 2017 16:08:41 +0000
(09:08 -0700)
Remove this typedef, there is even no places using it.
Signed-off-by: Xin Long <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/linux/sctp.h
patch
|
blob
|
history
diff --git
a/include/linux/sctp.h
b/include/linux/sctp.h
index 6d7b8846c6073fa8f998bd91e2db1ed34f22256d..ffdccb4da7e52b1956f7a02e47c33b2d6403bc53 100644
(file)
--- a/
include/linux/sctp.h
+++ b/
include/linux/sctp.h
@@
-117,12
+117,12
@@
enum sctp_cid {
* the action that must be taken if the processing endpoint does not
* recognize the Chunk Type.
*/
-
typedef
enum {
+enum {
SCTP_CID_ACTION_DISCARD = 0x00,
SCTP_CID_ACTION_DISCARD_ERR = 0x40,
SCTP_CID_ACTION_SKIP = 0x80,
SCTP_CID_ACTION_SKIP_ERR = 0xc0,
-}
sctp_cid_action_t
;
+};
enum { SCTP_CID_ACTION_MASK = 0xc0, };