summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-06-30 06:52:17 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-01 19:08:41 +0300
commit34b4e29b383559e3848eea30af66e94aa72af88c (patch)
tree6bcf3a3bf9b5a5dcfd24c411825271d9f89bbf0a /net/sctp
parent3c9187049214127d3401926b033d05eb75d69c39 (diff)
downloadlinux-34b4e29b383559e3848eea30af66e94aa72af88c.tar.xz
sctp: remove the typedef sctp_param_t
This patch is to remove the typedef sctp_param_t, and replace with struct sctp_paramhdr in the places where it's using this typedef. It is also to remove the useless declaration sctp_addip_addr_config and fix the lack of params for some other functions' declaration. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 9f9d40c9a32a..3ed2108d1989 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1882,7 +1882,7 @@ struct __sctp_missing {
* Report a missing mandatory parameter.
*/
static int sctp_process_missing_param(const struct sctp_association *asoc,
- sctp_param_t paramtype,
+ enum sctp_param paramtype,
struct sctp_chunk *chunk,
struct sctp_chunk **errp)
{