sctp: remove the typedef sctp_hostname_param_t
authorXin Long <lucien.xin@gmail.com>
Mon, 17 Jul 2017 03:29:52 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 03:52:13 +0000 (20:52 -0700)
Remove this typedef, there is even no places using it.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h

index d8f9d8f..c43e906 100644 (file)
@@ -291,10 +291,10 @@ struct sctp_cookie_preserve_param {
 };
 
 /* Section 3.3.2.1 Host Name Address (11) */
-typedef struct sctp_hostname_param {
+struct sctp_hostname_param {
        struct sctp_paramhdr param_hdr;
        uint8_t hostname[0];
-} sctp_hostname_param_t;
+};
 
 /* Section 3.3.2.1 Supported Address Types (12) */
 typedef struct sctp_supported_addrs_param {